Find Jobs
Hire Freelancers

I need a couple of lines of PHP written...

£10-20 GBP

In Progress
Posted over 6 years ago

£10-20 GBP

Paid on delivery
PLEASE READ BEFORE BIDDING!!!!! I have a WooCommerce store with lots of products. I also have an XML file with the current stock status and I am using WP all import to import the stock status to my products. The XML file has stock statuses listed as "yes" or "no" but WP all import needs to read this as "instock" or "outofstock". I need an str_replace function written that will tell wp all import to read "yes" as instock and "no" as outofstock. Please be aware that I can not release payment until the code is confirmed as working from my end. Thanks
Project ID: 16125913

About the project

2 proposals
Remote project
Active 6 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
2 freelancers are bidding on average £14 GBP for this job
User Avatar
Hi! $phrase = 'text to replace'; str_replace(array('yes', 'no'), array('instock', 'outofstock'), $phrase);
£10 GBP in 0 day
5.0 (40 reviews)
6.2
6.2

About the client

Flag of UNITED KINGDOM
Southend on sea, United Kingdom
5.0
31
Payment method verified
Member since Mar 26, 2017

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.