Simple php to Update Database Based on Date

Budget $30 - $250 USD
Bids 20
Average Bid $160

I am looking for someone who can help finish a Woocommerce project quickly. I am using Woocommerce in catalog mode (no shopping cart) for a consignment furniture store. The way the pricing structure works in the store is after 30 days the price drops by 20% and after another 30 day it drops by an additional 10%.

I need a date field added to backend product page of woocommerce. This date field needs to update the price of the item based on how many days have passed. It seems like it should be some "if-then" statements that I could add the the [url removed, login to view] file of the child theme.

If 30 days past the date in the field then update price to be -20%.

If 60 days past the date in the field then update price to be -10%. (this should be -10% off of the reduced price created above).

An added bonus would be if I could add a regular price initially, but have the two created prices above be added as a sale price so I could take advantage of the styling added by Woocommerce for items with a sale price.

Post a Project Like This

This project was awarded to

steven6

Completed project exactly how I wanted and on time. Very nice and awesome person to work with. Whenever I needed help or had any questions he was there. Exceeded my expectations above and beyond :) If I ever have a project again, I will definitely come back for sure!
About the Freelancer
steven6 Profile Picture

Steven6

Looking to make some money?

  • Set your budget and the time frame
  • Outline your proposal
  • Get paid for your work

Bids on this Project

  • gopalvora Profile Picture

    gopalvora

    Jetpur,  India

    I have 7 + year exp. in Php , joomla , MySQL, word-press , OsCommerce , cake php, Prestashop, Smarty Php , Javascript , CSS, HTML5, jQuery i do in innovative way that make our application stable in fast changing client requirements. i help organization from planning stage to implementation stage thus our services make backbone of their success.

    PHP, Javascript, XML, and Graphic Design

  • ashuagrawal Profile Picture

    ashuagrawal

    Allahabad,  India

    In-depth technical knowledge of various software development languages, applications and web technologies With 9+ years of experience as web developer I have gained technical proficiency and practical experience while working on projects in the professional world Highly motivated and goal oriented with excellent interpersonal skills and ability to excel both as a team player and working independently Very open mind set, a strong adaptation to change and keenness to adopt and learn technology can move from current coding capability to design capability Quick adaptability to new technologies, so keep abreast of changing trends and meet new requirements successfully coupled with a natural interest in electronics, software development and programming

    PHP, Javascript, XML, and Graphic Design

  • amitaghadi Profile Picture

    amitaghadi

    mumbai,  India

    i have done my bsc CS. and i have 4.5 years of experience in development and working from last 3 years in php,jquery,mysql,linux also worked on eCommerce application

    Java, JSP, Adobe Flash, and Windows Desktop

  • steven6 Profile Picture

    steven6

    Nottingham,  United Kingdom

    Steven6

    PHP, Java, Javascript, and iPhone

  • linuxfreak1985 Profile Picture

    linuxfreak1985

    Karachi,  Pakistan

    turning your Ideas into GREAT ECOMMERCE PLATFORMS! Greetings! LinuxFreakz is the top freelancer based in Karachi, I have been serving Website Design / Development / Android and Server Administration jobs for past 6 years. My Expertise: 1. Wordpress Themes / Plugins Coder 2. Responsive Website Design / Bootstrap / HTML5/ CSS3 3. Woocommerce plugins / Websites 4. Android / Mobile Phone 5. Ecommerce Solutions 6. Linux Server Administration 7. INTERSPIRE / MAILWIZZ / POWERMTA 8. Email Delivery Consultant Terms of Service • 100% Customer Satisfaction • Perfect 5 star reviews!! • Good communication availability 24/7

    PHP, Java, Javascript, and Website Design

  • yopesh Profile Picture

    yopesh

    Panchkula,  India

    Hi there! I started up as a PHP developer, but now I can do just about anything including frameworks like Laravel, as well as CMS' like Wordpress, etc. I've also worked with dozens of Web APIs and have done multiple payment integrations like with Paypal. I'm exceptionally good with JavaScript, jQuery & AngularJS as well. I also create fully responsive web pages better than anyone around here! Hire me now, or wait until you glimpse through my long list of awesome reviews below! Cheers!

    PHP, Javascript, Graphic Design, and AJAX

  • ranganalx Profile Picture

    ranganalx

    Cebu City,  Philippines

    I'm Raymond Angana, a freelance web developer, web designer, web consultant and PHP expert base in Cebu City, Philippines. I'm a full-stack developer with loads of experience in both web design/development and I have 6+ years of working experience ranging from plain HTML to eCommerce to CMS development and custom web applications. I have an extensive knowledge of web services and web APIs. Currently specialising in writing high-speeed, robust code for projects for some of World's biggest web agencies and online organisations. I specialize in Bootstrap, CodeIgniter and Wordpress in general. PHP and MySQL are my forte. I have to admit that I'm a perfectionist. I don't settle for better, I always look for the best. I don't just create websites, I build web experience. Usability, user-experience, user-friendly are what's pressing me to make things accessible, clear and consistent throughout every pages I build. Hope to be of service with you. Ray!

    PHP, Website Design, Graphic Design, and Banner Design

  • prowebsolutionz Profile Picture

    prowebsolutionz

    Bijnor,  India

    I have independent company for work. I have 7 year experience in core php-mysql , ajax, css, css3, PSD to HTML, PSD to JOOMLA 2.5, PSD to WHMCS, Responsive design I am currently working on devlopment of Joomla Extensions .

    PHP, Script Install, Web Security, and SEO

  • procommerce Profile Picture

    procommerce

    Miami,  United States

    Ecommerce Development based on Magento Certified Solutions. From Startups and Turn-key projects to Custom Developments for live websites. Our secret relies on a guru task force that aims high on every challenge, building sustainable results for each customer, no matter the size of the project. Trusted around the globe by delivering World Class solutions since 1995. Our customers are real players with stores among the most successful ecommerce businesses online and a joint gross sales of more than $320 million over the last 18 months.

    PHP, Website Design, Banner Design, and Web Security

  • usman345786 Profile Picture

    usman345786

    Lahore,  Pakistan

    I am Excellent in Web Designing & Developing and graduated in Computer science. I have good command over HTML,HTML5,CSS,CSS3,JAVASCIRPT,JQUERY,PHP,MYSQL and beside these I am very eager to learn new things and technologies.

    PHP, Javascript, Graphic Design, and Copywriting