Why doesn’t the plugin work when the page is displayed via a shortcode?

Top WooCommerce & WordPress Plugins Forums Product Price by Quantity for WooCommerce Why doesn’t the plugin work when the page is displayed via a shortcode?

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #107390

    Hi.

    I noticed that the plugin works as it should on product pages. Example: https://smart.apias.no/produkt/ladekabelen/ (after choosing 2 products, the price changes to “kr 598 for 2 stk.”)
    But it doesn’t work on other pages when the product itself is displayed through WC shortcode [product_page id="100"]
    Examples: middle of the page here https://smart.apias.no or on this page https://smart.apias.no/test/ (after choosing 2 products, the price is not changing and showing “kr 299”).

    Is there a way to fix it?

    #108628
    Moshtafizur
    Moderator
    Plugin Support

    Hi Glenn,

    Thank you for reaching out to us. We apologize for any inconvenience you may be experiencing.

    We have been unable to reproduce the issue on our end, in order to assist you further, would it be possible for you to provide us with access to your WordPress dashboard? This will allow us to investigate the issue more closely and understand what might be causing the problem. If that’s okay with you, please send your login credentials to [email protected].

    We appreciate your cooperation and look forward to resolving this matter for you.

    Best regards,
    Moshtafizur

    #107662

    Hi. Already asked about this but still haven’t received a reply.

    When I add a product to the page with WC shortcode [product_page id="99"] the plugin doesn’t work (probably AJAX functionality).

    Here is the price changing on the product page when selected 3:
    https://i.snipboard.io/KIo25c.jpg

    Here is the product added with a shortcode on a separate page:
    https://i.snipboard.io/k96KBZ.jpg

    How can it be fixed?

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.