Forums

WooCommerce - excelling eCommerce
Variable Product SKU Display (46 posts)

  1. ryanbfly
    Member
    Posted 4 months ago #

    Well, now they are saying it's a problem with my Yootheme theme.

  2. ryanbfly
    Member
    Posted 4 months ago #

    Well, here's the fix for those of you having this problem with Warp 6 Yootheme Themes, namely Cloud. Keep in mind this is probably considered just a temporary fix, I'm not too keen on doctoring themes...

    The theme doesn't seem to be calling on the following scripts:
    add-to-cart-variation.js, add-to-cart-variation.min.js
    so I added:

    <script type='text/javascript' src='http://yoursite.com/yourdirectory/wp-content/plugins/woocommerce/assets/js/frontend/add-to-cart-variation.js?ver=1.6.6'></script>
    <script type='text/javascript' src='http://yoursite.com/yourdirectory/wp-content/plugins/woocommerce/assets/js/frontend/add-to-cart-variation.min.js?ver=1.6.6'></script>

    right before the closing body tag on template.php in the
    wp-content/themes/yoo_cloud_wp/layouts directory. Next I fixed these two javascripts with lorsa's script. That did it...

  3. Uwe666
    Member
    Posted 3 months ago #

    hello, I've tried your suggestions, but it's still not working on my website.

    my setup:
    WORDPRESS: 3.5
    WOOCOMMERCE: 1.6.6
    THEME: Function (Woothemes)

    and I've changed the two files:
    add-to-cart-variation.min.js (lorsabyan code)
    add-to-cart-variation.js (samueljeden code)

    what else can I do?

  4. samueljeden
    Member
    Posted 3 months ago #

    Hi Uwe666, please put lorsabyan's code in both files. this will fix the issue until the next woocommerce release which also updates attributes like weight / dimensions when variations are selected :)

  5. Uwe666
    Member
    Posted 3 months ago #

    hi samueljeden! I've done it like you said. but still not working (firefox and chrome browser)!

  6. samueljeden
    Member
    Posted 3 months ago #

    Did you replace them in the woocommerce plugin directory?
    have you cleared your browser caches?
    have you made sure you have sku's set for the parent and the variations? and that they are all setup correctly.

    link me to your website and ill see if i can see the issue.

    :)

  7. Uwe666
    Member
    Posted 3 months ago #

    >> Did you replace them in the woocommerce plugin directory?

    yes! here:
    /wordpress/wp-content/plugins/woocommerce/assets/js/frontend

    >> have you cleared your browser caches?

    yes!

    >> have you made sure you have sku's set for the parent and the variations? and that they are all setup correctly.

    i can only setpup prices to variations. and in the frontend i see every time the lowest price for all variations!

    >> link me to your website and ill see if i can see the issue.

    ok! here is the testpage:
    http://www.dominanztravel.com
    USER: guest
    PASS: welcome

  8. samueljeden
    Member
    Posted 3 months ago #

    There is nothing wrong with the code loading,

    >>i can only setpup prices to variations. and in the frontend i see every time the lowest price for all variations!

    this says to me that your variations are setup incorrectly, it sounds like you have added an extra variation without selecting what attribute it is assigned too.

    if you can post a screenshot of the item with all the variations expanded so i can see them, ill be able to tell you which one is wrong.

  9. Uwe666
    Member
    Posted 3 months ago #

    can I send you the WP access via private message?

  10. samueljeden
    Member
    Posted 3 months ago #

    i dont think you can do private messages here, you can certainly email me though

    sam.eden@sky.com

  11. Uwe666
    Member
    Posted 3 months ago #

    ok, on it's way via email ... ;)

  12. samueljeden
    Member
    Posted 3 months ago #

    As i said previously, your issue was with the variation setup.

    i fixed this and i have emailed a reply to you :)

  13. davidwieland
    Member
    Posted 3 months ago #

    Same boat as all the other guys: woocommerce + variations + yootheme = not playing nice.

    I've followed the steps of copypasting lorsabyan's code into the 2 JS files, and added a link to their location in the template.php before the closing body tag, but still to no avail.

    Seems though I'm pretty close to the solution. I've set SKU for the main product and the price for all variations. What am I doing wrong?

  14. samueljeden
    Member
    Posted 3 months ago #

    Hello David,

    I believe i have just emailed you back.

    I've never actually looked into a permanent fix for this with YooTheme's as im not part of there club / purchased any themes.

    If someone wants me to look into this properly so i can try and figure out why i will need a fresh site the yootheme installed so i can look into it and admin access to the editors.

    From what i can see david your theme is not calling the variation js file, if you respond to my email i can look further.

    Thanks
    Samuel

  15. OatmealBath
    Member
    Posted 3 months ago #

    Hey Guys,

    I've tried lorsabyan's code in both files and all variations are disabled after the first variation is selected.

    For Example: I choose

    Size: 16" x 12"

    and then every option for

    Color:

    is greyed out. I believe I have all of the product variation options set up correctly, as the store is functioning and orders go through. Could I get an unminified version of the code to try some debugging?

    The website is http://www.PrestigeOfficeAccessories.com and I have the old code live at the moment.

  16. zackskeeter
    Member
    Posted 1 month ago #

    Can anyone Fix the jquery for woocommerce v.2??

    I am getting a varation issue where i cannot add to cart due to a jquery issue.

    TypeError: t.product_variations is undefined

    h || (h = t.product_variations[c]);

    The fix worked before the update, Please help. Woocommerce support has been little use

Reply

You must log in to post.

About this Plugin

About this Topic