WPML – multilingual problems – Add to cart, Wishlist

This topic has 11 replies, 2 voices, and was last updated 7 years, 9 months ago ago by Eva Kemp

  • Avatar: Dimis
    Dimis
    Participant
    June 18, 2016 at 17:25

    Hi there!
    Initially, thank you for this special theme!

    The problem i face is this below:
    I have a multilingual website with WPML, in English (default) and Greek language. All works fine except the two cases below:

    1 – ADD TO CART PROBLEM – Only in Greek language

    a1) When in SHOP PAGE pressing “Add to cart” button, although the “OK” check icon appears, the product is NOT added in the Cart, and is NOT added in the Woopress Cart Widget
    a2) When in SINGLE PRODUCT PAGE pressing “Add to cart” button, the product is NOT added in the Cart, neither is added in the Woopress Cart Widget.
    b) When in the CART PAGE, when deleting products (that have been added in the English version) or increasing / decreasing quantity, after pressing the “Update button” although the cart page (Greek versions) is updated, the Cart Widget is not.

    2 – WISHLIST PROBLEM – Only in the Greek language
    Items are NOT added in the wishlist when pressing the “Add to wishlist” button.

    Notes:
    a) I have done some tests: I changed the theme to Twenty Fourteen and the problems mentioned dissapeared. Everything works fine!
    b) Everything (WordPress, Woocommerce, WPML, Woopress, Plugins) are in the latest versions. Just to mention that the problem existed since the previous Woocommerce and WPML versions.

    Please, contact administrator
    for this information.
    10 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    June 21, 2016 at 10:24

    Hello,

    1. I’ve checked your site and Cart page is working properly http://storage3.static.itmages.com/i/16/0621/h_1466500955_2407644_3487004218.jpeg . Product is shown in Cart page.
    Try to clear browser cache and check again.

    2.We don’t recommend to update Woocommerce plugin till the theme update is released.
    We suggest you to revert back to old Woocommerce version from a backup.

    Ask your hosting provider support about backup on a server.

    After that check Wishlist page again.

    Regards,
    Eva Kemp.

    Avatar: Dimis
    Dimis
    Participant
    June 21, 2016 at 15:23

    Hi there,

    I do not see that the problem is fixed.
    The screenshot of the cart you attach, is from the cart page of the greek language. But the point is if the product was added through the English version of the site or through the Greek version.
    If you add a product through the English version, you can see it in both English and Greek version of the Cart.

    The point is that the “Add to cart” button (“ΑΓΟΡΑ” in greek) IN THE GREEK VERSION of the site, does not function!

    I think that this is not a problem of woocommerce version. As i told you,
    a) the problem existed also in the 2.5.5 woocommerce version,
    b) the problem appears only in the Greek version, which implies this in is not a version problem and
    c) the problem dissappears in any other theme i have tested, which means that the problem is in your theme.

    Adding to the above, i did the following test.
    I replaced your /woopress/woocommerce/loop/add-to-cart.php file with the original one, and when i press Add to Cart (“ΑΓΟΡΑ”)in the greek version of the Shop Page, the product IS added in the cart, although the cart widget in not automatically updated and needs a refresh. This test, does not work in the Single Product Page, when the pop up appears.

    Please check it out again and help solve the problem.

    PS.
    Maybe the “Wishlist” problem is related with the add to cart problem

    Avatar: Eva
    Eva Kemp
    Support staff
    June 22, 2016 at 13:33

    Hello,

    The point is that the “Add to cart” button (“ΑΓΟΡΑ” in greek) IN THE GREEK VERSION of the site, does not function!

    Please show a direct page where the button doesn’t function.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: Dimis
    Dimis
    Participant
    June 23, 2016 at 18:56

    Hi again.

    I made some more tests and here are some more specific results.

    Let’s go again. ALL the problems i mention below appear ONLY in the Greek version of the website.
    — — —

    Problem 1 appears when trying to ADD TO CART (ΑΓΟΡΑ button) and ONLY if Ajax “Add To Cart” IS enabled. Try these links:
    a1) Single Product
    http://e-aromatopoleion.gr/site/product-category/%CE%B1%CE%B9%CE%B8%CE%AD%CF%81%CE%B9%CE%B1-%CE%AD%CE%BB%CE%B1%CE%B9%CE%B1/?lang=el
    http://e-aromatopoleion.gr/site/shop/ylang-ylang-essential-oil/?lang=el
    a2) Variable Product
    http://e-aromatopoleion.gr/site/shop/1-million-for-men/?lang=el

    Note:
    If i DISABLE Ajax “Add To Cart”, then the above problem dissappears.
    — — —

    Problem 2: Cart Widget does not update when deleting products from Cart Page
    Suppose that we go to the English version of the website and we Add to Cart some products
    http://e-aromatopoleion.gr/site/shop/
    Then we go to the GREEK version of the Cart
    http://e-aromatopoleion.gr/site/cart/?lang=el
    If we try to REMOVE products from the cart, the products are removed and the Cart Page “Subtotal” & “Total” are updated. BUT the “Subtotal” & “Total” in Cart Widget are NOT updated.
    — — —

    Problem 3: “Add to Wishlist” link does not function.
    — — —

    My hypothesis: Something is wrong in the code in “Add to cart” ad “Cart Widget” related files, that stop the Greek language from functioning.

    Please, reply to me as soon as possible.

    Regards,
    Dimis

    Avatar: Eva
    Eva Kemp
    Support staff
    June 24, 2016 at 08:35

    Hello,

    There are errors on your site:
    http://prntscr.com/bkcwiw

    500 error means there is lack of some resources on your server. You should contact hosting provider support and ask them to error logs to find what exactly is causing it.
    Also ask them to increase values for the functions Post Max Size, Max Upload Size and Max Input Vars.

    Regards,
    Eva Kemp.

    Avatar: Eva
    Eva Kemp
    Support staff
    June 24, 2016 at 08:35

    Hello,

    There are errors on your site:
    http://prntscr.com/bkcwiw

    500 error means there is lack of some resources on your server. You should contact hosting provider support and ask them to error logs to find what exactly is causing it.
    Also ask them to increase values for the functions Post Max Size, Max Upload Size and Max Input Vars.

    Regards,
    Eva Kemp.

    Avatar: Dimis
    Dimis
    Participant
    June 24, 2016 at 10:30

    Hi Eva,

    For the “Add to cart” and “Wishlist” not working problems, as you proposed, system resources, possibly memory, was the problem. I disabled one plugin and now it is ok. Though, i will ask for more system resources as you adviced. Brava!

    There is one more problem unsolved, that i mention above. This is that, when REMOVING an item from the CART PAGE, English OR Greek version, the TOTAL & SUBTOTAL amounts ONLY in the CART WIDGET, do NOT update.
    http://e-aromatopoleion.gr/site/cart/
    http://e-aromatopoleion.gr/site/cart/?lang=el

    Comparing your demo (https://www.8theme.com/demo/woopress/fullwidth/cart/) with my installation, i see that in your version, when removing an item from the Cart page, the Cart page reloads and the Cart Widget is refreshed. In my installation, when removing and item, the Cart page doesn’t reload, it seems to use ajax??? Should i do something, a setting maybr, so that my Cart page reloads when removing an item, as in your demo?

    Can you help me with this?

    Thank you in advance!
    Dimis

    Avatar: Eva
    Eva Kemp
    Support staff
    June 24, 2016 at 12:01

    Hello,

    The issue with Cart widget will be fixed in the next theme update.
    We’ve forwarded it to our developers.

    Please take our apologies for inconveniences.

    Regards,
    Eva Kemp.

    Avatar: Dimis
    Dimis
    Participant
    July 10, 2016 at 12:20

    Hi there,

    I updated the theme to version 2.9, but the problem with the CART WIDGET Not updating when REMOVING items from the cart page, still exists.

    Avatar: Eva
    Eva Kemp
    Support staff
    July 11, 2016 at 14:56

    Hello,

    We’ll fix this bug soon and update theme files on ThemeForest, so you’ll be able to reupload the theme.

    Thank you for your understanding and patience.

    Regards,
    Eva Kemp.

  • Viewing 11 results - 1 through 11 (of 11 total)

You must be logged in to reply to this topic.Log in/Sign up

Helpful Topics

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.