test
Viewing 15 posts - 16 through 30 (of 32 total)
  • Author
    Posts
  • 7of9 Friend
    #563633

    Hi @ninja Lead ,

    Thanks for your efforts.

    Although the custom fields problem is resolved, another problem is created. When you add to cart the pop up window in which the add to cart functionality is now implemented, instead of the old drag to cart effect, reverts back to the default language (Greek). So when you are in English, or French Language, it switches the cart language to Greek and when you choose to show cart, it switches the entire page’s language to default language (Greek). Please check the pictures I attach following to understand what I mean. Note that with the green check mark, I mean that it’s OK, while with red arrow, I point out the errors.

    Please advise.

    Thanks in advance.

    Edit: I would like to add that the show cart link of the pop up window points to a bad URL that leads to 404: http://www.—.—/el/shop-en-gb/all-categories-en-gb/cart as you can see the language is Greek and the rest of the URL is English.


    1. CartLanguage1
    2. CartLanguage2
    3. CartLanguage3
    4. CartLanguage4
    Ninja Lead Moderator
    #563708

    I found the problem from mod_virtuemart_cart module and js file could not load the language text. I have temporary fix for this bug. My solution will remove “προϊόντα” text when you click “Add to cart” button

    Open modules/mod_virtuemart_cart/assets/js/update_cart.js file

    find and change

    $this.find(".total_products").html(datas.totalProductTxt);

    to

    $this.find(".total_products").html(datas.totalProduct);

    Hope it helps

    7of9 Friend
    #563796

    Hi @ninja Lead,

    Removing Total Products text, doesn’t resolve the problem. The language will still change, the pop up window informing about the product added in the cart will still be in the wrong language and the broken link from the pop up directing to the cart will still exist.
    This is a serious problem, because it breaks orders and we are loosing money. When can we anticipate a fix?

    Thanks in advance.

    Ninja Lead Moderator
    #563863

    With this problem, I will need some help from the dev team. I’ve reported to them and you can tracks its status here

    7of9 Friend
    #563995

    Thanks @ninja Lead ,

    I hope they will resolve it soon, because this is a blocking problem, since it affect our sales.

    7of9 Friend
    #564046

    Hi @ninja Lead ,
    @saguaros had approached the problem in a different way, as I see here: http://www.joomlart.com/forums/topic/vm-custom-fields-not-showing/
    Although this is an older thread, maybe you should consult him for a better solution, because clearly the pop up window approach creates more problems than the ones it solves.
    Please guys take some time to fix this. It’s being a long time since I have this problem and now it’s blocking my site from operating. I’m in a really tough spot, PLEASE HELP!

    Ninja Lead Moderator
    #564168

    Please give some time to development team to do this, about the link of you mentioned above is not relate to the problem language text in mod_virtuemart_cart module.

    7of9 Friend
    #564183

    Hi @ninja Lead ,

    What I am trying to say is that the problem language text in mod_virtuemart_cart module is created because of the change made in order to display the custom fields. We did not have this problem before. In the link I sent you @saguaros approached the problem differently, he did not introduce the pop up window solution and so no problem language text in mod_virtuemart_cart module problem was created. My question is, why do we have to go with the pop up window solution? The previous implementation with the drag to cart effect was much better and with less problems.

    Please try to see the point also from my side. I have this problem for a long time now and at its current state it has blocked my site from selling.

    Thanks in advance.

    Ninja Lead Moderator
    #564361

    The problem on your site is not related to our product. I spent a lot of time to debug this issue, you need to check three files on your site

    <blockquote>language/en-GB/en-GB.com_virtuemart.ini
    language/fr-FR/fr-FR.com_virtuemart.ini
    language/el-GR/el-GR.com_virtuemart.ini</blockquote>

    and make sure my red mark below is defined with each language on your site

    COM_VIRTUEMART_CART_X_PRODUCTS="%s products"

    7of9 Friend
    #564370

    Hi @ninja Lead ,

    Actually it is defined. This is the line per language:
    English line 103:

    COM_VIRTUEMART_CART_X_PRODUCTS="%s products"

    Greek line 109:

    COM_VIRTUEMART_CART_X_PRODUCTS="%s προϊόντα"

    French line 109:

    COM_VIRTUEMART_CART_X_PRODUCTS="%s produits"

    Please find all files attached in a zip. I sent you a PM with ftp access, to check whatever you like.

    Please advise.

    Thanks in advance.


    1. VMiniFiles.zip
    Ninja Lead Moderator
    #564432

    Look at the screenshot below

    I see the product text is working fine. You can check it again


    1. Screen-Shot-2015-03-24-at-22.03.24
    7of9 Friend
    #564487

    Hi @ninja Leed ,

    I saw it too. How did you fix it?

    Ninja Lead Moderator
    #564514

    <em>@7of9 465292 wrote:</em><blockquote>Hi @ninja Leed ,

    I saw it too. How did you fix it?</blockquote>

    I changed the components/com_virtuemart/helpers/cart.php file with below highlighted code

    if ($data->totalProduct>1) $data->totalProductTxt = vmText::sprintf('COM_VIRTUEMART_CART_X_PRODUCTS', $data->totalProduct);

    7of9 Friend
    #564563

    Hi @ninja Lead ,

    Thanks for all your help. Is it possible to have all the files that where changed in order to have some kind of a patch?
    I believe that those fixes will be applied on the next version too, right?

    Thanks in advance.

    Ninja Lead Moderator
    #564633

    Absolutely, for any bug, the fix will be updated in the next release of template. The same with this issue, it’s been reported here

Viewing 15 posts - 16 through 30 (of 32 total)

This topic contains 32 replies, has 3 voices, and was last updated by  Ninja Lead 9 years, 9 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum