• This plugin was working until I had to update WooCommerce. Now the product option no longer adds the extra amount to the cart.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Pektsekye

    (@pektsekye)

    Hello,

    Try to replace the line:

    
         $productId = $citem["variation_id"] == 0 ? $citem["product_id"] : $citem["variation_id"];
    

    with:

    
         $productId = $citem["product_id"];
    

    in the file:
    wp-content/plugins/product-options-for-woocommerce/Model/Observer.php

    Stanislav

    Thread Starter dnhdennis

    (@dnhdennis)

    This change did not fix the problem.
    I only have limited other plugins installed.
    Jetpack
    WooCommerce
    WC Services
    WC Xero Integration
    eWay Payment Gateway is active
    WP Maintenance Mode (active since this problem)

    That is no. No other fancy plugins or complicated themes.
    All plugins and core are latest (5.4.1 etc)
    PHP is 7.0.33

    Similar issue happened to me. I reinstalled the plugin it solved the issue.

    Thread Starter dnhdennis

    (@dnhdennis)

    Thanks. I’ll try that.

    Thread Starter dnhdennis

    (@dnhdennis)

    I reinstalled the plugin. No joy…

    I have a bunch of “virtual” products, that are made up of scientific testing on samples. The customer is paying for the testing, so the “product” is the results of the testing (hence “virtual”).
    The is an option “Full report and recommendations” which adds an amount per sample to the cost. E.g. and extra $50 per sample.
    So for a test @ $99 per sample, 10 samples with full report should be 10 * $149. But it is not adding the extra $50 to the cart price, even though the price per sample goes up on the product page before adding to the cart.

    I love that people make free plugins and uphold the sharing of knowledge and experience etc. But, if this plugin is not reliable in a commercial environment then I’ll have to subscribe to something better I guess.

    Plugin Author Pektsekye

    (@pektsekye)

    Hello,

    Try to temporarily disable other plugins. Leave just the WooCommerce.

    Then when you find the plugin that conflicts we will try to find a way to make it work.

    Also you should contact me by email [email protected] because I cannot attach any screenshots or files here.

    Stanislav

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Don’t email for screenshots. Anyone can upload to https://snipboard.io/ and share the link to that image here.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Add-on option price stopped working’ is closed to new replies.