Home Forums WoodMart support forum Variable product

Variable product

Viewing 19 posts - 1 through 19 (of 19 total)
  • Author
    Posts
  • #549322

    byotia
    Participant

    Welcome
    How to create options for a product like this example

    https://prnt.sc/Jp_ugkD9Lfhm
    https://prnt.sc/UXF2Bcl-ahrF

    When you click on the shape, the available sizes change

    #549401

    Hello,

    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.

    #549431

    byotia
    Participant

    No, this is not required
    I want to divide the sizes into two parts
    Like the picture you sent,
    the color
    the shape
    Size

    I want when I change the shape the available size options change

    #549544

    Hello,

    Can you please share the page url of the example site so i will check and give you a possible solution.

    Best Regards.

    #549547

    byotia
    Participant

    Example

    #549640

    Hello,

    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.

    #549659

    byotia
    Participant

    Fine, thank you
    Can I show the discount percentage on the product page?

    #549699

    byotia
    Participant

    There 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 appears

    Original design
    https://prnt.sc/gZh4nUqSzPl_
    Imported design
    https://prnt.sc/nBo3dKAGZWIX

    I am trying to import another design, but a blank page appears when importing a design

    #549807

    byotia
    Participant

    Hello, can you please inform me about the problem?

    #549842

    Hello,

    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

    #549844

    byotia
    Participant

    There 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 appears

    Original design
    https://prnt.sc/gZh4nUqSzPl_
    Imported design
    https://prnt.sc/nBo3dKAGZWIX

    #549863

    byotia
    Participant

    The 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

    #550009

    Hello,

    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.

    #551606

    byotia
    Participant

    When 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-816

    #551643

    Hello,

    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.

    #551645

    byotia
    Participant

    I 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

    https://prnt.sc/MgHjQDpanxg5 https://prnt.sc/0BeQnZI9QvzO

    #551687

    Hello,

    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.

    #551688

    byotia
    Participant

    I 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 topic

    #551714

    Hello,

    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.

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