Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Rishi Mehta

    (@rcreators)

    Hi Mycreativeway,

    Let me know which version of plugin you are using, i just updated plugin today for same issue. let me now if its solve your issue or not.

    ALso you need to use latest woocommerce version too.

    Let me know if you still having issue. also if you have weburl to check, it will good.

    Thread Starter mycreativeway

    (@mycreativeway)

    Hi,

    Its working for product variation with <select> dropdown, but not for variations with image or color swatches:

    I’m using this extension:

    https://docs.woothemes.com/document/woocommerce-color-and-image-swatches/

    I got it working by modifying your “add-to-cart-variation.js” file.

    Here’s code i updated:

    if($variation_form.find('select[name^=attribute]').length) {
    			$variation_form.find('select[name^=attribute]').each(function() {
    
    			var attribute = $(this).attr("name");
    			var attributevalue = $(this).val();
    
    			item[attribute] = attributevalue;
    			});
    
    		} else {
    
    			$variation_form.find('.select').each(function() {
    
    			var attribute = $(this).attr("data-attribute-name");
    			var attributevalue = $(this).find('.selected').attr('data-name');
    			item[attribute] = attributevalue;
    			});
    
    		};

    Would be great if you can include this in your next updates.

    Plugin Author Rishi Mehta

    (@rcreators)

    Hi,

    Thanks for revert updated code. i got your point, i didn’t checked it with other variation plugin, but as you suggested i will update js file in next update as i am also adding another feature into it.

    Glad you got it working with customization.

    Thread Starter mycreativeway

    (@mycreativeway)

    Thanks man.

    I really appreciate work you’re doing. I’m from Ahmedabad myself.

    Keep it up ??

    Plugin Author Rishi Mehta

    (@rcreators)

    Welcome ??

    I am also from Ahmedabad. Good to know that other people from same city active on www.remarpro.com. Not much developers are active in Ahmedabad. ??

    Rcreators

    Great work again. Yeh i think most woocommerce users are very keen on the latest ways to use and adjust variations, for example:

    Visual Attributes
    https://codecanyon.net/item/visual-attributes-woocommerce-variable-products/7981304

    Variation Swatches
    https://www.woothemes.com/products/variation-swatches-and-photos/

    Plugin Author Rishi Mehta

    (@rcreators)

    Hi Sharpe,

    THanks for the plugin links, will look into them and try for plugin to work with same with selection.

    CaptainJune

    (@captainjune)

    Has this problem been visited yet? I am just no encountering this problem with plugin listed below.
    It for what ever reason keeps adding the last variable option for each attribute.

    Variation Swatches
    https://www.woothemes.com/products/variation-swatches-and-photos/

    Plugin Author Rishi Mehta

    (@rcreators)

    Hi CaptainJune,

    This issue is already resolved in early releases. If you finding it not working on your website. Please start separate ticket in support and post development url for same. so i can look into it and give you appropriate solution.

    Hello I am using your plugin and have the same problem as OP but when customer selects the product variation from SHOP page, the correct price will appear in cart, but not the correct variation. Order display defaults to the highest variation every time. Can you help please?? https://perfumersupplyhouse.com/ (appears to be same problem as CaptainJune)

    Please can you direct me to the resolution if it exists?? The website is live and the plugin still malfunctioning!
    Thank you

    @mycreativeway, please I need your help!

    where in add-to-cart-variation.js can I add this code?? I am an HTML novice but can certainly add this correction if you can tell me exactly where to put it.

    Thank you so much for your help!

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Selected product variation not displaying’ is closed to new replies.