• Resolved AndZap

    (@andzap)


    Good day forum members,

    I am working with product variations in the latest version of WordPress and WooCommerrce.

    The pricing does not update when I select the ‘large’ option – which is set up a different price (higher).

    Additionally, the pricing shows ‘$49-$69’ on the single product page – $49 being the lowest price variations and $69 being the highest.

    Logic (customer experience) says it should state ‘$49’, as this is the default variation for the ‘standard’ version of this product.

    The pricing should then change accordingly based on the user selecting a different size (at a different price).

    I have followed all the necessary steps with regard to setting up product variations.

    Please can someone help me short-cut the issue.

    Kind regards,
    Andrew

    https://wordpress.org/plugins/woocommerce/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Please post the url to a relevant product page.

    Thread Starter AndZap

    (@andzap)

    Thanks Lorro. The link wasn’t omitted, I was hoping someone would recognise the issue. As requested: https://loveourwork.com.au/s0a1n01db0x/shop/bouquets/bouquet-of-gerbera-happiness/

    The link give a page-not-found error.

    Thread Starter AndZap

    (@andzap)

    Sorry Lorro. The site is hosted on Magento servers and we have a DNS redirect from our hosting to thiers.

    I will be duplicating the site to another hosting service to mitigate this problem.

    I will close the thread for now.

    Tanks again,
    Andrew

    Thread Starter AndZap

    (@andzap)

    @lorro. If you are still keen to take a look, I have migrated the site for access here:

    http://seasonalgifting.com.au/wordpress/low/shop/bouquets/bouquet-of-gerbera-happiness/

    Kind regards,
    Andrew

    1. Price not updating: I’ve had a look at the page markup because this contains the parameters for every variation which WooCommerce thinks there are for this product, and that may not be the same as the variations which you think there are. There are 10 variations in the markup when there should be 3 x 3 = 9. In particular there is variation #96 which has no attributes set. The other 9 variations look correct.

    If you look at the product page > Product Data section > Variation tab, you will see that each variation has an ID number. Can you see #96? If so, delete it. If not, then there is some corruption in the list of variations. If you are skilled with phpMyAdmin you could delete variation #96 from the database. If not, I think you need to remake the product page, then delete the old one.

    I am hopeful that if this rogue variation is deleted the price will update properly.

    2. Price range shown instead of lowest price: This is the default behaviour for WooCommerce, but you can alter what is displayed by using some custom css:

    .price {visibility:hidden}
    .price .amount:first-child {visibility:visible}

    Anything more sophisticated will require some php coding.

    Thread Starter AndZap

    (@andzap)

    Thanks Lorro. I thought their was one too many product ‘variations’.

    I’m going to give your suggestion a go.

    I purchased Gravity Forms (might come in handy for other client sites I’m working on as well) after watching an instructional video on another developer having the same issue, and they claim they where able to take more control with this plug in – among others.

    I will try your suggestions first. I’m sure I can delete the rouge from within WordPress. I know a little about phpMyAdmin and will take a look at that if I can’t.

    Thanks for taking the time on this. Appreciated.

    Regards,
    Andrew

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Product Variations – Pricing not updating on option selection’ is closed to new replies.