Find Jobs
Hire Freelancers

Write Wordpress/WooCommerce script to do a daily cronjob upload of inventory levels

$10-30 USD

Completed
Posted over 7 years ago

$10-30 USD

Paid on delivery
I have a dropship site setup. I have several dropship vendors who provide an updated CSV product inventory file every day of product SKU# and Quantity. File can have up to 50,000 line items of SKU/Quantity. I have a basic script that will update the inventory quantity based on SKU# but for some reason it stops at about 2000 lines. Even with changing the max execution time. Need someone to rewrite a proper php or plugin to read a CSV file at specific times and update the database inventory quantity by SKU# Script is fairly simple, read each line and find the post_id based on the SKU# $sql = "SELECT * FROM wp_postmeta WHERE meta_key = '_sku' AND meta_value = '$sku' LIMIT 1" ; then update the stock quantity: update_post_meta($post_id, "_stock", $qty); Either a custom php script with cronjob or a WP plugin that has cron features to setup the WP cronjob.
Project ID: 11234052

About the project

5 proposals
Remote project
Active 8 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hello! With 98% to 99% completion rate, 900+ successfully completed projects, and a 4.99 reputation (maximum possible, 5.0) (can be verified on my profile page https://www.freelancer.com/u/rajeshsonisl.html !!)... you can never go wrong choosing me :) I am available to get started on your project right away. I look forward to your reply. Thanks. Kind Regards, Rajesh Soni
$54 USD in 1 day
5.0 (941 reviews)
8.5
8.5
5 freelancers are bidding on average $97 USD for this job
User Avatar
there is a harder inforced policy that kills script execution after some time ( embedded into OS) i can configure the script to remember/store last changes/updates made and start again from the position it ended (skip first 2000 SKU# and continue from the 2001 ). it can evaluate csv file creation time and skip all SKU# that were update after that time therefore continue from where the job was ended. take my bid and consider it done, thank you //liviu d.
$30 USD in 1 day
4.8 (35 reviews)
4.3
4.3

About the client

Flag of UNITED STATES
San Jose, United States
5.0
1
Payment method verified
Member since Oct 5, 2015

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.