Home Forums WoodMart support forum Prevent override price in cart-widget when product is added to it

Prevent override price in cart-widget when product is added to it

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #390012

    7iomka
    Participant

    Hi.
    I use WooCommerce Product Add-Ons Ultimate plugin for custom fields.
    I have 2 fields: width and height, and third one, that calculates area (w * h).
    For a product in Woocommerce I set the price that it means price per unit (in my case is square mm), for example 1$.
    And in final formula which replace price in product card I use
    {filed_width} * {field_height} * {product_price}
    That value show for user subtotal in product card
    Plugin allow to hide default price (1$) and instead after user settled all required filelds it shown final price.
    After I add product to cart I see:
    – first product added with correct values (1×13000$) for example.
    – after a moment I see that value was replaced by 1×1$ (of course, that is product price from woocommerce)
    How to disable this replacement?
    That is happens only for cart widget.
    In cart page price for each product shown correctly.

    #390036

    7iomka
    Participant

    NOTE: this behavior happening only on desktop.
    On mobile (I test with chrome devtoools) – all works as expected.

    #390432

    Hello,

    We have checked and we cannot catch the problem: https://gyazo.com/20273dd3304b8ce92417b915584b30de

    Could you clarify the problem?

    Best Regards

    #390636

    7iomka
    Participant

    Hm.
    I noticed now that problem occurs only if I’m authorized in admin.
    Please, see

    #390894

    Hello,

    The problem is caused by incorrect HTTP and HTTPS configuration: https://domain.com is the actual site URL, however, http://domain.com is used in Dashboard > Settings > General. In this case, it is necessary to configure URLs correctly.

    If you have any questions please feel free to contact us.

    Best Regards

Viewing 5 posts - 1 through 5 (of 5 total)