• I have added the plugin and setup the things. Now when I select those custom options the price along with the option is not adding to the cart. Can you please suggest the way how I can fix this?

Viewing 4 replies - 1 through 4 (of 4 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 pranay003

    (@pranay003)

    Hello @pektsekye ,
    Yes it is adding the price now for each quantity. But my requirement is adding this extra price with the total quantity price. Is it possible? It means I need to add this custom product option price for one product as extra price not for each quantity.

    Thanks
    Pranay

    • This reply was modified 2 years, 11 months ago by pranay003.
    • This reply was modified 2 years, 11 months ago by pranay003.
    Plugin Author Pektsekye

    (@pektsekye)

    Hello,

    I have a modification to add option price as one time fee to the cart total.

    If you want to try it use my email [email protected] to get the modified files.

    Stanislav

    Thread Starter pranay003

    (@pranay003)

    Hello @pektsekye,

    I have done my functionalities in some other way. Thanks for your support and in future if I need to do anything I will remember you definitely.

    Thanks
    Pranay

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Custom option price is not adding to the cart’ is closed to new replies.