-
AuthorPosts
-
7of9 Friend
7of9
- Join date:
- December 2010
- Posts:
- 579
- Downloads:
- 81
- Uploads:
- 66
- Thanks:
- 162
- Thanked:
- 25 times in 3 posts
March 18, 2015 at 7:18 pm #563633Hi @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.
- Ninja Lead Moderator
Ninja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
March 19, 2015 at 7:21 am #563708I 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 Friend7of9
- Join date:
- December 2010
- Posts:
- 579
- Downloads:
- 81
- Uploads:
- 66
- Thanks:
- 162
- Thanked:
- 25 times in 3 posts
March 19, 2015 at 4:42 pm #563796Hi @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 ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
7of9 Friend7of9
- Join date:
- December 2010
- Posts:
- 579
- Downloads:
- 81
- Uploads:
- 66
- Thanks:
- 162
- Thanked:
- 25 times in 3 posts
7of9 Friend7of9
- Join date:
- December 2010
- Posts:
- 579
- Downloads:
- 81
- Uploads:
- 66
- Thanks:
- 162
- Thanked:
- 25 times in 3 posts
March 21, 2015 at 4:39 pm #564046Hi @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 ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
March 23, 2015 at 3:38 am #564168Please 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 Friend7of9
- Join date:
- December 2010
- Posts:
- 579
- Downloads:
- 81
- Uploads:
- 66
- Thanks:
- 162
- Thanked:
- 25 times in 3 posts
March 23, 2015 at 6:12 am #564183Hi @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 ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
March 24, 2015 at 6:01 am #564361The 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 Friend7of9
- Join date:
- December 2010
- Posts:
- 579
- Downloads:
- 81
- Uploads:
- 66
- Thanks:
- 162
- Thanked:
- 25 times in 3 posts
March 24, 2015 at 7:44 am #564370Hi @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.
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
March 24, 2015 at 3:04 pm #5644327of9 Friend7of9
- Join date:
- December 2010
- Posts:
- 579
- Downloads:
- 81
- Uploads:
- 66
- Thanks:
- 162
- Thanked:
- 25 times in 3 posts
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
March 25, 2015 at 7:32 am #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);
1 user says Thank You to Ninja Lead for this useful post
7of9 Friend7of9
- Join date:
- December 2010
- Posts:
- 579
- Downloads:
- 81
- Uploads:
- 66
- Thanks:
- 162
- Thanked:
- 25 times in 3 posts
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
AuthorPostsThis topic contains 32 replies, has 3 voices, and was last updated by Ninja Lead 9 years, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum