Support » WooCommerce » Bug: Simple Product Shortcodes

  • espox



    we recently discovery, that if you use a shortcode „product_page id = 123“ that the add to cart button on the shortcode-page only works if the product is a variable product.

    We use the shortcode „product_page id= 123“ to redisplay a product detail page on another page.

    The product page is displayed correctly. However, the „add-to-cart“ button is incorrect. It is displayed correctly, but only adds products to the cart if the linked product is a variable product.

    If it is a simple product, nothing happens.

    According to HTML, the correct button with correct class etc. is present in the source code

    – Clean WordPress and Woocommerce 5.X

Ansicht von 1 Antwort (von insgesamt 1)
  • Moderator Hans-Gerd Gerhards


    Moderation Note: sorry, I close this thread as you have asked your question in a German support forum in English. To keep the threads accessible to all people not speaking English, I kindly ask you to either rephrase your question in German or ask in the International support forums. Thank you for your understanding. Best regards, Hans-Gerd

Ansicht von 1 Antwort (von insgesamt 1)
  • Das Thema „Bug: Simple Product Shortcodes“ ist für neue Antworten geschlossen.