Home › Forums › WoodMart support forum › How to customize single product page
How to customize single product page
- This topic has 5 replies, 2 voices, and was last updated 5 years, 3 months ago by Elise Noromit.
-
AuthorPosts
-
September 7, 2019 at 6:30 am #142469
lezdotechmedParticipantHi there,
We would like to customize the single products page as shown on this website (https://www.winni.in/affable-butterscotch-cake/pd/16531?rfcid=307).
Our Query: 1. How to add add-on products in products page?
2. How to show product pop-ups on products page when clicking the add to cart button?
3. How to add a checkbox for variations?Please refer to the above site.
September 7, 2019 at 1:02 pm #142509
Elise NoromitMemberHello,
Thank you very much for choosing our theme and for contacting us.
1. How to add add-on products in products page? – If I understand you properly, you mean upsells products or related? Here is the instruction: https://docs.woocommerce.com/document/related-products-up-sells-and-cross-sells/
2. Woocommercee does not provide such an option by default. You will have to find a plugin.
3. Swatches:
By default, variable product attributes are presented as a dropdown in WooCommeerce. WoodMart theme suggests the option to present the attributes as swathes.Swatches are enabled in Dashboard -> Products -> Attributes -> chose the attribute -> Configure Items -> Edit -> Enable swatch. All the attributes would be presented as text instead of a drop-down.
In order to show the attribute item as a color swatches (vide color attribute on the image above), it is necessary to set the color in “Color preview for this value” and colors will have the view as shown in the image above.
Swatches may be presented as featured images taken from product variations. This option is provided in the Theme Settings > Shop > Attribute swatches > Grid swatch attribute to display – choose pa_color (the color attribute, for example) and “Use images from product variations” should be enabled. The variable product should have featured image for each variation http://prntscr.com/kk870w
Best Regards
October 9, 2019 at 9:28 am #149228
lezdotechmedParticipantHi Xtemos team,
For variable products, We would like to show a low price in the product grid (shop page) and price range (low to high price) in the single product page.
How do I change that in woocommerce?
October 9, 2019 at 10:58 am #149256
Elise NoromitMemberHello,
Please add this code to the Theme Settings > Custom CSS > Global:
body .product-grid-item .price, body .single-product-page .summary-inner > .price { font-size: 0; } .single-product-page .summary-inner > .price > span:first-child { font-size: 22px; } .single-product-page .summary-inner > .price > small { font-size: 18px; margin-left: 6px; } body .product-grid-item .price > ins, body .product-grid-item .price > span:first-child { font-size: 14px; } body .product-grid-item .price > del { font-size: 12px; margin-right: 3px; } body .product-grid-item > .price > small { font-size: 12px; margin-left: 4px; } body .single-product-page .summary-inner > .price > ins, body .single-product-page .summary-inner > .price > span:first-child { font-size: 22px; } body .single-product-page .summary-inner > .price del { font-size: 22px; margin-right: 6px; } @media (max-width: 576px) { body .product-grid-item.col-6 .price { font-size: 0; } }
A single product cannot have any price ranges. What do you mean?
Best Regards
October 9, 2019 at 11:16 am #149263
lezdotechmedParticipantIts working fine on all products/shop page as we wanted. But the provided CSS hid the variable product price range in the product page and displays only the minimum amount, instead, we want to display the variable price range in the product page.
I mean, I wanted the woocommerce default setting on the product page.
October 9, 2019 at 2:03 pm #149314
Elise NoromitMemberHello,
If you want to show the lower price only on the product grid, replace the provided code with this one:
body .product-grid-item .price{ font-size: 0; } body .product-grid-item .price > ins, body .product-grid-item .price > span:first-child { font-size: 14px; } body .product-grid-item .price > del { font-size: 12px; margin-right: 3px; } body .product-grid-item > .price > small { font-size: 12px; margin-left: 4px; }
Best Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register