Support » Plugin: PPOM for WooCommerce » Price Not change when ATC

  • Resolved albertanthony

    (@albertanthony)


    When i ATC products, the option price not change. Im using images popup options

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author N-Media

    (@nmedia)

    Hi,

    Sorry, what do you mean by ATC?

    albertanthony

    (@albertanthony)

    Add to cart

    Plugin Author N-Media

    (@nmedia)

    Hi,

    did you mean you using a quick view? or using PPOM PopUp Add-on? If you are using any quick view option by theme so it will not add price or option to cart. And if you are using PPOM PopUp-addon then share your product page URL.

    albertanthony

    (@albertanthony)

    I’m using PPOM images fields. the price not automaticlly added to cart.

    Now im edited the code in ppom_woocommerce_update_cart_fees function

    the $total_option_price always 0

    ORIGINAL CODE:
    case ‘variable’:

    $option_price = $option[‘price’];

    // verify prices from server due to security
    if( isset($option[‘data_name’]) && isset($option[‘option_id’])) {

    $option_price = ppom_get_field_option_price_by_id($option, $wc_product, $ppom_meta_ids);
    }

    $total_option_price = $option_price;

    $total_option_price += wc_format_decimal( $option_price, wc_get_price_decimals());
    break;

    EDITED CODE: (WORKS)
    case ‘variable’:
    $option_price = $option[‘price’];
    $total_option_price += $option_price;
    break;

    Plugin Author N-Media

    (@nmedia)

    Hi,

    Well, I am not sure why to make changes in this function, well as long as it works for you that’s fine. But images prices added to cart already in PPOM.

    Plugin Author N-Media

    (@nmedia)

    Hi again,

    yes we have issue with image’s price. we just fixed this in version 16.5 and it will be released today.

    • This reply was modified 12 months ago by N-Media.
    albertanthony

    (@albertanthony)

    Okay thankyou for your support

    Plugin Author N-Media

    (@nmedia)

    Cheers. if you love our plugin and support please rate.

    I have a problem with the price of the product.
    My price settings in Price Matrix are:

    Option: 1-25 Price: 10
    Option: 26-50 Price: 8

    How can i do next Option: 51-unlimited price: 7

    Plugin Author N-Media

    (@nmedia)

    Hi,

    you can use 51-999, in our plugin the quantity input is restricted to the max number of range so the user cannot exceed from max quantity.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Price Not change when ATC’ is closed to new replies.