Home Forums WoodMart support forum Widget Add to cart in custom layout

Widget Add to cart in custom layout

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

    Fab3
    Participant

    Hello,

    In a custom layout, we aim to modify the add-to-cart widget to better suit our requirements. Specifically, we would like:

    A text displayed above the product variations.
    The price displayed between the product variations and the add-to-cart button.

    Is there a way to do that?
    Thanks

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

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    Can you please share the product page URL so I will check and give you a possible solution?

    Best Regards

    #612094

    Fab3
    Participant

    here it is
    thanks

    #612152

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    01. Can you please tell me which text you want to show above the product Variations.

    02. Navigate to Theme Settings > Shop > Variable Products > Disable the option “Remove duplicate price for variable product”.

    Best Regards

    #612230

    Fab3
    Participant

    Hello,

    I managed to add a title via ACF and disabled the option you suggested me.

    Now I ask the following:

    1. As you can see in the screenshot attached we want to move the additional price + availability right above the add to cart button, so after variation swatches. How can we get that?

    2. We would like to add some text to each variation swatches, name for instance and other brief info. If we need to customize the swatches template where can we find that? We looked at woodmart>woocommerce but couldnt find anything there. Or it is managed via single product template?

    looking forward to your answer
    thanks

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

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    01. Unfortunately, it is not possible. HTML structure does not allow solving it by custom CSS. Such modification requires complicated Woocommerce code customization which is not covered by our support.

    02. You can use the Variation Description field to add text to each variation, such as names or brief info.
    To do this:

    Edit your product in WooCommerce and go to the Variations tab.
    For each variation, add text in the Description field.
    This description will display when the variation is selected on the product page.

    Best Regards

    #612345

    Fab3
    Participant

    Hello,

    Thank you for your response.

    We understand, but this doesn’t align with what we requested. The customization should remain within the swatch area, not positioned above the variations. However, based on your previous replies, we suspect you might say this is too complicated to implement.

    Could you kindly clarify:

    > Which template file should be modified to adjust the swatch appearance? How are swatches managed in your theme? Alternatively, could you recommend a plugin to achieve this customization?

    > Additionally, which file should we edit to modify the appearance of the “Add to Cart” widget in the Bakery Builder?

    We hope to receive a more detailed and constructive response this time.

    Thank you for your support.

    Best regards,

    #612433

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    You need to edit this theme files for this. All the customizations made in the theme files are at your own risk.
    woocommerce/single-product/add-to-cart/variable.php

    Best Regards

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