Viewing 7 replies - 1 through 7 (of 7 total)
  • Roxy

    (@roxannestoltz)

    Hi @meryembayram ,

    I understand that you would like to remove the Product variation price range from being displayed, is this correct?

    After testing the code from the article below, it displays the lowest price on WooCommerce categories pages.

    https://learnwoo.com/hide-price-range-woocommerce-variable-products/

    Below are the results after the code was added to my test site:

    Hope this helps!

    Thread Starter meryembayram

    (@meryembayram)

    Hi @roxannestoltz

    Thanks for replying. They replied via mail for this problem and suggested a plugin to me. So i installed this plugin (https://wordpress.org/plugins/variation-price-display/) and it solved my problem but now i faced a different problem.

    As you can see in the link, both the price of the product and the price of the variation appear on the page at the same time. When I go to the product page the normal price will appear, but when I click on the variations, I want the normal price not to be appear. Two prices should not appear on the page, which will cause confusion for customers. I hope i could explain myself. How do i solve this problem?https://www.dropbox.com/s/sq9h2rc0sv07nwi/again.PNG?dl=0

    Best Regards,
    Meryem

    Roxy

    (@roxannestoltz)

    Hi @meryembayram ,

    Glad you found a plugin that can help you achieve the end goal!

    Since the Variation Price Display Range for WooCommerce plugins main purpose is to allow you to change the price format displayed on both the shop and single product pages for variable products, this third-party plugin is what makes changes to how the prices appear on your product pages, and you would need to reach out to the developers of the Variation Price Display Range for WooCommerce plugin for further help with this.

    Kindly note that this forum is for support related to WooCommerce core, and support related to third-party plugins is outside the scope of support we are able to provide.

    You can reach out to the plugin developers in their dedicated support forum, here.

    Hope this helps 🙂</img>

    Thread Starter meryembayram

    (@meryembayram)

    Hello @roxannestoltz ,

    I guess I couldn’t express myself. English is not my native language, please be understanding. My problem is not related to the plugin i installed. I was getting this error before i installed it. Variations are not active on the site at the moment because I don’t work on weekends. I removed it in case there was a problem. 

    As you can see in the link, both the price of the product and the price of the variation appear on the page at the same time. When I go to the product page the normal price will appear, but when I click on the variations, I want the normal price not to be appear. Two prices should not appear on the page, which will cause confusion for customers. I hope i could explain myself. How do i solve this problem?https://www.dropbox.com/s/sq9h2rc0sv07nwi/again.PNG?dl=0

    Best Regards,

    Meryem

    Roxy

    (@roxannestoltz)

    Hi @meryembayram ,

    Ah, gotcha – thanks for the clarity!

    So what you are seeing exhibits default WooCommerce core behavior, and custom code (or a plugin) would be required to remove this from being displayed.

    After testing the code from this article, it displays only the price of the variation selected, on single product pages.

    Below are the results before the code was added to my test site:

    Here are the results after the code was added:

    You need to add the code provided in the article, to your child theme’s functions.php file or via a plugin that allows custom functions to be added, such as the Code snippets plugin. Please don’t add custom code directly to your parent theme’s functions.php file as this will be wiped entirely when you update the theme.

    Hope this helps!

    Thread Starter meryembayram

    (@meryembayram)

    Hello @roxannestoltz

    Thank you very much for your help. You are really involved. But I still haven’t found a solution for my problem. I tried the code in the article you sent, yes, it works but that’s not exactly what I want. The price does not change when I choose black as a variation while I’m in the pink product. I want the prices to change when I click on the variation and write it under the product name, or the product page to change when I click on the variation.

    when i add the code it looks like this: https://www.dropbox.com/s/x6q98q1uib2ym7h/hata.PNG?dl=0

    Best regards,
    Meryem

    Hi @meryembayram

    I understand that the provided solution above did not work on your site. This could be due to many reasons: your theme, or another plugin causing conflict on your site.

    You can try to run the full conflict test to see if your theme or a plugin is causing conflict with the code.

    Meanwhile, kindly be informed that custom coding is outside our scope of support, hence, I am leaving this thread open for a bit to see if anyone can chime in to help you out.

    For questions related to development and custom coding, your best bet is to ask on any of these channels for support. We’re lucky to have a great community of open-source developers for WooCommerce, and many of our developers hang out there, too.

    Hope this helps!

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘variation discounted price error’ is closed to new replies.