Home › Forums › WoodMart support forum › Variable product
Variable product
- This topic has 18 replies, 2 voices, and was last updated 8 months, 3 weeks ago by Aizaz Imtiaz Awan.
-
AuthorPosts
-
March 15, 2024 at 1:26 pm #549322
byotiaParticipantWelcome
How to create options for a product like this examplehttps://prnt.sc/Jp_ugkD9Lfhm
https://prnt.sc/UXF2Bcl-ahrFWhen you click on the shape, the available sizes change
March 15, 2024 at 3:48 pm #549401
Aizaz Imtiaz AwanKeymasterHello,
You need to create variable products, Please read and follow the instructions provided here: https://xtemos.com/docs/woodmart/variable-products-swatches/
If you have any questions feel free to contact us.
Best Regards.
March 15, 2024 at 5:40 pm #549431
byotiaParticipantNo, this is not required
I want to divide the sizes into two parts
Like the picture you sent,
the color
the shape
SizeI want when I change the shape the available size options change
March 16, 2024 at 10:21 am #549544
Aizaz Imtiaz AwanKeymasterHello,
Can you please share the page url of the example site so i will check and give you a possible solution.
Best Regards.
March 16, 2024 at 10:24 am #549547
byotiaParticipantExample
March 16, 2024 at 6:00 pm #549640
Aizaz Imtiaz AwanKeymasterHello,
Yes, you can do the same with the variable products. I recommend creating three separate attributes for your product: “Color”, “Shape”, and “Size”. You can then assign these attributes accordingly to your products, ensuring clear and organized presentation for your customers.
Follow this guide:
https://woo.com/document/variable-product/Best Regards.
March 16, 2024 at 7:54 pm #549659
byotiaParticipantFine, thank you
Can I show the discount percentage on the product page?March 17, 2024 at 1:47 am #549699
byotiaParticipantThere is another problem on the product page
When you import the product page design, Tamara disappears
When you cancel the design and keep the original design, the Tamara window appearsOriginal design
https://prnt.sc/gZh4nUqSzPl_
Imported design
https://prnt.sc/nBo3dKAGZWIXI am trying to import another design, but a blank page appears when importing a design
March 18, 2024 at 7:21 am #549807
byotiaParticipantHello, can you please inform me about the problem?
March 18, 2024 at 11:09 am #549842
Aizaz Imtiaz AwanKeymasterHello,
You need to enable Elementor containers before importing our dummy content. You can enable this in Elementor -> Settings -> Features https://gyazo.com/978409216e7ba8e656ed812160359821
Best Regards
March 18, 2024 at 11:16 am #549844
byotiaParticipantThere is another problem on the product page
When you import the product page design, Tamara disappears
When you cancel the design and keep the original design, the Tamara window appearsOriginal design
https://prnt.sc/gZh4nUqSzPl_
Imported design
https://prnt.sc/nBo3dKAGZWIXMarch 18, 2024 at 12:12 pm #549863
byotiaParticipantThe problem has been resolved
Now I want to add the percentage to the discounted price
How can I add the percentage to the discount price on the product page?On the product page, the variable starts from and ends to
I want the price on the product page. The changer only starts
March 18, 2024 at 3:44 pm #550009
Aizaz Imtiaz AwanKeymasterHello,
Try to add the following PHP code in the function.php of the child theme.
add_filter( 'woocommerce_get_price_html', 'change_displayed_sale_price_html', 10, 2 ); function change_displayed_sale_price_html( $price, $product ) { // Only on sale products on frontend and excluding min/max price on variable products if( $product->is_on_sale() && ! is_admin() && ! $product->is_type('variable')){ // Get product prices $regular_price = (float) $product->get_regular_price(); // Regular price $sale_price = (float) $product->get_price(); // Active price (the "Sale price" when on-sale) // "Saving Percentage" calculation and formatting $precision = 1; // Max number of decimals $saving_percentage = round( 100 - ( $sale_price / $regular_price * 100 ), 1 ) . '%'; // Append to the formated html price $price .= sprintf( __('<p class="saved-sale">You Save: %s</p>', 'woocommerce' ), $saving_percentage ); } return $price; }
Best Regards.
March 23, 2024 at 8:27 am #551606
byotiaParticipantWhen you stop the Discount Rules and Dynamic plugin
All is well and the price appears from
The problem is when the additional component is activated, the price becomes from and to
https://prnt.sc/PEfGwuI7_d39
https://prnt.sc/5lrH15xKr3DE
https://prnt.sc/ZF3Rhmay-816March 23, 2024 at 11:36 am #551643
Aizaz Imtiaz AwanKeymasterHello,
Navigate to Theme Settings > Shop > variable products > check the option hide to price. This option will hide a higher price for variable products and leave only a small one.
And check the option Remove duplicate price for variable products. When you will select any variation, the price on the single product page will be updated with an actual variation price.
Best Regards.
March 23, 2024 at 11:42 am #551645
byotiaParticipantI don’t know what the problem is I’m using the Joomla Dynamic Discount plugin When the additional component is activated, the price from and to appears
March 23, 2024 at 1:52 pm #551687
Aizaz Imtiaz AwanKeymasterHello,
It is an issue with third party plugins. Please deactivate all the 3rd party plugins and activate only theme-required plugins on the site and then check the issue. I am sure your issue will be solved. Then Activate the 3rd party plugins one by one and check which plugin is creating the issue for you.
Best Regards.
March 23, 2024 at 1:56 pm #551688
byotiaParticipantI know where the problem is
It’s the added component of wholesale discounts
But I do not know if there is an additional component that can discount wholesale products that is compatible with the topicMarch 23, 2024 at 3:05 pm #551714
Aizaz Imtiaz AwanKeymasterHello,
Sometimes, issues with plugins can be resolved by adjusting the plugin’s settings. Try to review its configuration options to see if there are any settings causing conflicts. Make sure it’s configured correctly for your specific setup.
If you want to continue using this plugin and can’t resolve the issue on your own, consider reaching out to Plugin support for assistance. They might be able to help you troubleshoot and configure the plugin correctly.
Best Regards.
-
AuthorPosts
- You must be logged in to create new topics. Login / Register