Home Forums WoodMart support forum Add to cart button

Add to cart button

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #347465

    jkasalo
    Participant

    Hi,
    how do I insert “Popup button with contact form” instead of “Add to cart” on the product page?
    Please, can you see my attachment. Thanks in advance.

    Attachments:
    You must be logged in to view attached files.
    #347633

    Hello,

    You need to remove the default Add to cart button.

    Please add this code to the Theme Settings > Custom CSS > Global:

    body.single-product .cart,
    body .woocommerce-variation-add-to-cart{
    display:none;
    }

    Then follow these steps:

    Create HTML block and insert the Popup element: https://xtemos.com/docs/woodmart/html-blocks-2/ and https://xtemos.com/docs/woodmart/shortcodes-2/

    Then insert the contact form element/widget or shortcode into the content of the popup.

    Add this HTM block into the Theme Settings > Single product > Add to cart options > Before “Add to cart” area.

    Best Regards

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