Home Forums WoodMart support forum How can I unbundle Variable Product and Add to cart button on Elementor

How can I unbundle Variable Product and Add to cart button on Elementor

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #468393

    pnk2646
    Participant

    How can I unbundle Variable Product and Add to cart button on Elementor
    so I can move add to cart button anywhere without moving variable product selection.

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

    Hello,

    Thank you very much for choosing our theme and for contacting us.

    You can hide/show the elements in the Theme Settings > Single product > Elements. Add to cart button as well as variations can be hidden with Catalog mode in the Theme Settings > Shop.

    If you do not want to hide variations, the buttons can be hidden with custom CSS. Please let us know if you need help and provide the page URL.

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

    Best Regards

    Best Regards

    #468409

    pnk2646
    Participant

    Thank you for the reply, I don’t want to hide any of them just would like to seperate it shown in the attachments
    Linked below on Mod only

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

    Hello,

    Please consider creating the product page using Woocommerce builder:https://xtemos.com/docs-cat/woocommerce-layouts-builder/?theme=woodmart and this one for a single product: https://xtemos.com/docs-topic/single-product-page-builder/

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

    Best Regards

    #468711

    pnk2646
    Participant

    …Yes I am currently using your theme with elementor on the single product. The problem is that your theme bundles the “Product Add to cart” widget with Add To card Button AND Variable field selection like shown on photos I’ve attached.
    So my question is if there is a way I can separate them so I can move my add to cart button anywhere with out moving the variable field selection.

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

    Hello,

    I have double-checked, Unfortunately, it is not possible to separate Add to Cart and Swatches. It would destroy the Add to cart functionality.

    We can suggest the solution: custom code which you need to add to functions.php of the child theme:

    add_action( 'woocommerce_after_variations_table', function () {
    	echo do_shortcode( 'SHORTCODE_NAME');
    });

    You need to replace 'SHORTCODE_NAME' with the name of the shortcode calling the template of the single product.

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

    Best Regards

    #469085

    pnk2646
    Participant

    That option works! Thank You for your help.

    #469352

    You are welcome! We are here to help.

    Wish you a wonderful day!

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

The topic ‘How can I unbundle Variable Product and Add to cart button on Elementor’ is closed to new replies.