Home / Forums / WoodMart support forum / Widget Add to cart in custom layout
Home › Forums › WoodMart support forum › Widget Add to cart in custom layout
Widget Add to cart in custom layout
- This topic has 7 replies, 2 voices, and was last updated 1 year, 8 months ago by
Aizaz Imtiaz Awan.
-
AuthorPosts
-
November 13, 2024 at 1:02 pm #611862
Fab3ParticipantHello,
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?
ThanksAttachments:
You must be logged in to view attached files.November 14, 2024 at 9:30 am #612052Hello,
Can you please share the product page URL so I will check and give you a possible solution?
Best Regards
November 14, 2024 at 10:56 am #612094
Fab3Participanthere it is
thanksNovember 14, 2024 at 2:58 pm #612152Hello,
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
November 14, 2024 at 7:13 pm #612230
Fab3ParticipantHello,
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
thanksAttachments:
You must be logged in to view attached files.November 15, 2024 at 10:08 am #612323Hello,
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
November 15, 2024 at 11:31 am #612345
Fab3ParticipantHello,
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,
November 15, 2024 at 2:43 pm #612433Hello,
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.phpBest Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register