Post Project
  • Search
    • Buyers can
    • Search offers to buy now
    • Search freelancers to request a proposal
    • Freelancers can
    • Search projects to quote on
  • How it works
  • Log in
  • Sign up
  • Freelancer?
Browse by Category
    Technology & ProgrammingWriting & TranslationDesignDigital MarketingVideo, Photo & ImageBusinessMusic & AudioMarketing, Branding & SalesSocial Media

    Help with Woocommerce php coding

    - or -

    Post a project like this
    3390
    $$
    • Posted: 9 years ago
    • Proposals: 5
    • Remote
    • #491260
    • Completed
    Simon B.Jimeet S.Rakesh P.Nitesh S.Darshan S. have already sent a proposal.
    • 0
    • 0

    Description

    Experience Level: Intermediate
    General information for the website: Woocommerce Website
    Kind of development: Customization of existing website
    Description of requirements/features: I need to Woocommerce to display only the minimum price and the minimum sale price for variable products.

    I have got it to display just the minimum sale price by adding the following code to my child theme. I need to add the original price to this.

    /**
    * Returns min price for variably priced products
    **/
    add_filter('woocommerce_variable_price_html', 'custom_variation_price', 10, 2);
    function custom_variation_price( $price, $product ) {
    $price = '';
    $price .= woocommerce_price($product->min_variation_price);
    return $price;
    }

    I would like this done ASAP
    The site is being developed so is only accessible by editing a hosts file to point to it.
    Specific technologies required: php
    Extra notes:
    Jo N.
    Jo N.
    100% (2)
    Projects Completed
    2
    Freelancers worked with
    2
    Projects awarded
    100%
    Last project
    16 Dec 2014
    United Kingdom

    New Proposal

    Login to your account and send a proposal now to get this project.

    Log in

    Clarification Board Ask a Question

      There are no clarification messages.
    3390
    $$

    - or -

    Post a project like this
    Jo N.
    Jo N.
    100% (2)
    Projects Completed
    2
    Freelancers worked with
    2
    Projects awarded
    100%
    Last project
    16 Dec 2014
    United Kingdom

    Related project Searches


    woocommerce customization PHP programming language web website development

    Product

    • About
    • Team
    • Careers

    Support

    • How it works
    • Trust & Safety
    • Help Centre

    Discover

    • GuidesStoriesNews

    Resources

    • Customer Stories
    • Business Cost Calculator
    • Startup Cities

    Browse

    • Freelance Services
    • Freelance Services By Country
    • Freelance Skills
    • Terms
    • Privacy
    • Sitemap
    • Company Details
    • © 2023 People Per Hour Ltd
    We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
    Cookie Settings
    Accept All Cookies