• Resolved bathroo

    (@bathroo)


    Hello legends.

    I am trying to recreate this functionality in Woocommerce here https://www.thebluespace.com.au/collections/marquis-vanities/products/marquis-tide-wall-hung-vanity

    But Woocommerce doesn’t seems to add up the variation costs based on user selection. For example if the basin size is one cost – let’s say $10, then the bench top option is another cost – let’s say – $20. Then the total should say $30.

    I would have thought that when the user selects each option the total cost would increment but it doesn’t.

    It seems like for that variation, I need to already have that combination totalled up which means I need to work out every combination in advance, which isn’t good.

    Please help. Thanking the brains trust in advance.

Viewing 11 replies - 16 through 26 (of 26 total)
  • Mirko P.

    (@rainfallnixfig)

    Hi @bathroo,

    I’ve seen instances where a low value for max_input_vars caused issues in a website’s performance. But as said above, your hosting company would be in the best position to assist you in setting up your server environment optimally in order to get your store running smoothly.

    If you’re interested, there are some good recommendations on these posts especially when the number of products and variations increases.

    * https://woocommerce.com/posts/how-to-scale-woocommerce/
    * https://woocommerce.com/posts/can-woocommerce-stores-scale-truth-about-large-stores-with-examples/
    * https://woocommerce.com/posts/scaling-website-traffic/

    If you have any specific questions on WooCommerce core’s features we’ll be happy to assist further.

    Best regards.

    Thread Starter bathroo

    (@bathroo)

    Thanks for your reply but none of those helped.

    This is a MAJOR technical problem and I might have to switch to Shopify or something else. Why hasn’t this been fixed???

    Hello,

    I understand you would like to display the variation costs depending on the user’s selection.

    On this page (Display Selected Variation Info) you can find a code that might help you out.

    Note: It is highly recommended to use a plugin like Code Snippets to add custom PHP code into your site without directly accessing the functions.php file. Here is an article that explains how to use the Code Snippets plugin.

    I hope this points you in the right direction.

    Thread Starter bathroo

    (@bathroo)

    Igor, the link below is what I’m after. I need to add custom fields to some products that don’t affect the price so the code on here works https://www.businessbloomer.com/woocommerce-add-custom-field-product-variation/, thank you.

    On the other hand, I do have products that have created over 5000 variations and basically kill the site. Each variation will change the price. I will give you an example:

    Variations:
    Door type: 2 options
    Finish: 30 options
    Benchtop: 40 options
    Size: 12 options
    Legs: 4 options

    = 115200 variations will be created. That will kill woocommerce performance if I use default variations.

    What is the most technically efficient way to implement this?

    Thread Starter bathroo

    (@bathroo)

    Oh yes, and for the people who said it’s a hosting issue. It’s not. I test it. I deployed the same site into a t3a.2xlarge and also tried it on a C4 AWS instance and it’s still the same slowness.

    Mirko P.

    (@rainfallnixfig)

    Hi @bathroo,

    WooCommerce alone can handle 100 million variations without noticeable slowness in terms of performance. You can read more about the test that was carried out in this article:

    https://supporthost.com/woocommerce-slow/#:~:text=woocommerce%20product%20with%20100%2C000%2C000%20variations

    If your site is experiencing low performance the issue is isolated to your specific environment. Instead of using variations you could use product add-ons and there is a handy plugin here:

    https://woocommerce.com/products/product-add-ons/

    Let us know if you have any other questions.

    Thread Starter bathroo

    (@bathroo)

    Hmm, 100 million variations seem like a stretch.

    There are so many other articles out there and on StackOverflow where people are solving this variation issue.

    I have other businesses running Magento and Prestashop which don’t have these issues but I wanted to try something new. WordPress is better at SEO. I still refuse to use Shopify. I’m an engineer by trade and like having (relative) control.

    That said, the product add ons plugin you recommend has really bad reviews. I’ll try it and see what happens.

    See, if this business didn’t have so many variations I’d be cheering with Woocommerce.

    Mirko P.

    (@rainfallnixfig)

    Hi @bathroo,

    Magento and Prestashop are all-in-one eCommerce platforms while WooCommerce is a plugin. It’s up to you to see which one suits best your business.

    On this specific forum, we only support the WooCommerce core plugin. Regarding Product Add-Ons you can test it out and get your money back within 30 days if it’s not working right for you. For pre-sales questions please contact us at: https://woocommerce.com/contact-us/#sales-form.

    If there is anything we can do just let us know.

    All the best.

    Thread Starter bathroo

    (@bathroo)

    Hi @rainfallnixfig , ok I’ll try the product addons now.

    Perfect! That sounds like a plan.

    We’ll be here if you have more questions!

    Cheers

    We haven’t heard back from you in a while, so I’m marking this thread as closed – we’ll be here if and/or when you are ready to continue.

Viewing 11 replies - 16 through 26 (of 26 total)
  • The topic ‘Complex Variations, please help.’ is closed to new replies.