Accent problem in popup cart
- GK User
- Mon Jan 14, 2013 7:15 pm
Hello!
Accent problem when I push "add to cart" button. The popup doesn't show correctly the words of the products with accent:
If I use an other template the accent is showed correctly:
How can I fix this?
Thankyou!
(Sorry for my english)
Accent problem when I push "add to cart" button. The popup doesn't show correctly the words of the products with accent:
accent_boutique_template.jpg
If I use an other template the accent is showed correctly:
accent_beez2_template.jpg
How can I fix this?
Thankyou!
(Sorry for my english)
-
- Fresh Boarder
- Konrad M
- Tue Jan 15, 2013 9:33 am
Hi,
probably one of te no standart font which you are using in template settings, don't support special characters. Please try find one wich will do or try one of regular fonts.
probably one of te no standart font which you are using in template settings, don't support special characters. Please try find one wich will do or try one of regular fonts.
- GK User
- Tue Jan 15, 2013 10:53 am
I've tested with Arial, verdana, comic sans... and the problem persists:
Please, note that the problem is only with the pop-up (when push "add to cart" button), in the other sections of the web the special charaters are showing correctly:
Here the font configuration with Arial:
Any other suggestions?
Thankyou!
Comic_sans.jpg
Please, note that the problem is only with the pop-up (when push "add to cart" button), in the other sections of the web the special charaters are showing correctly:
arial.jpg
Here the font configuration with Arial:
configuration.jpg
Any other suggestions?
Thankyou!
-
- Fresh Boarder
- Konrad M
- Wed Jan 16, 2013 10:31 am
Please try go to html and change virtuemart_com folder for a moment. Then check if problem still exist. If jest it is VM issue so please ask on their forum community.
- GK User
- Wed Jan 16, 2013 12:37 pm
Hello,
I think that the problem is in the "productdetails" subfolder of /templates/gk_boutique/html/com_virtuemart. I changed this folder name to _productdetails:
The result is this:
Accent problem is solved so the issue is in your template. Now, obviously, I have problems with the product detail layout.
I have 2.14.1 versión of your boutique template: http://www.inesromero-ir.es/templates/g ... etails.xml (this is my site).
I've investigated other sites in spanish with the same template and I discovered that the version 2.13 don't have this issue. Example: http://www.keloniamenus.com/templates/g ... etails.xml If you try to add to cart this product: http://www.keloniamenus.com/index.php/p ... etail.html you will see that there is no problem with the "é" of "Miércoles".
Please, could you send me the "productdetails" folder of version 2.13? Or there will be an update solving this problem?
Thankyou!
I think that the problem is in the "productdetails" subfolder of /templates/gk_boutique/html/com_virtuemart. I changed this folder name to _productdetails:
folders_filezilla.jpg
The result is this:
changed__productdetails_.jpg
Accent problem is solved so the issue is in your template. Now, obviously, I have problems with the product detail layout.
I have 2.14.1 versión of your boutique template: http://www.inesromero-ir.es/templates/g ... etails.xml (this is my site).
I've investigated other sites in spanish with the same template and I discovered that the version 2.13 don't have this issue. Example: http://www.keloniamenus.com/templates/g ... etails.xml If you try to add to cart this product: http://www.keloniamenus.com/index.php/p ... etail.html you will see that there is no problem with the "é" of "Miércoles".
Please, could you send me the "productdetails" folder of version 2.13? Or there will be an update solving this problem?
Thankyou!
-
- Fresh Boarder
- Konrad M
- Fri Jan 18, 2013 11:36 am
I have one last ask. Please try switch template to default one 'beeze' and let me know if issue still exist.
- GK User
- Fri Jan 18, 2013 11:45 am
Konrad M wrote:I have one last ask. Please try switch template to default one 'beeze' and let me know if issue still exist.
I did this in the FIRST POST... Please, could your read?
I've installed your template with quickstart in a test folder. The only thing that I did is edit a random product name to "a á e é i í o ó u ú n ñ c ç TEST" for testing the special characters. The result IS THE SAME:
quickstart_test.jpg
If I disable gk_boutique/html/com_virtuemart/productdetails folder the special characters are showing correctly:
quickstart_test_productdetails_disabled.jpg
SO, YOU HAVE A BUG WITH THIS TEMPLATE AND YOU CAN TEST FOR YOURSELVES...
-
- Fresh Boarder
- Konrad M
- Fri Jan 18, 2013 10:53 pm
I send this issue to our programmers. I will let you know when I get response.
- GK User
- Fri Feb 01, 2013 6:39 pm
More than 2 weeks waiting and no answer...
Finally, and seeing that no one could help me, I have had to fix this issue by myself. The fix is very simple and is located in one single line of /html/com_virtuemart/productdetails/default.php code. Something that a php programmer should be able to fix in ten minuts. But I am not and expert of php, I am very noob and I had to spend several hours locating, looking for information and fixing the issue. Hours that nobody will pay me.
Why haven't I recieved support? It's me who would have to do this work? Should I publish the solution here?
I'm quite disappointed, I thought that the fix of this kind of problems was included in the price of the template...
Solution:
Completing the line 349:
to:
Result:
Finally, and seeing that no one could help me, I have had to fix this issue by myself. The fix is very simple and is located in one single line of /html/com_virtuemart/productdetails/default.php code. Something that a php programmer should be able to fix in ten minuts. But I am not and expert of php, I am very noob and I had to spend several hours locating, looking for information and fixing the issue. Hours that nobody will pay me.
Why haven't I recieved support? It's me who would have to do this work? Should I publish the solution here?
I'm quite disappointed, I thought that the fix of this kind of problems was included in the price of the template...
Solution:
Completing the line 349:
- Code: Select all
<input type="hidden" class="pname" value="<?php echo htmlentities($this->product->product_name) ?>" />
to:
- Code: Select all
<input type="hidden" class="pname" value="<?php echo htmlentities($this->product->product_name, ENT_QUOTES, 'utf-8') ?>" />
Result:
boutique_productdetails_fixed_and_enabled.jpg
-
- Fresh Boarder
- GK User
- Sun Feb 03, 2013 10:01 am
Dear Ori_86!
Thank you for your time and the solution.
)) (Thank you, to shareing with me)
I made it and now ist perfect with the UTF8 special characters.
www.kertembe.hu
Nice job
King regards:
Lorand
Thank you for your time and the solution.

I made it and now ist perfect with the UTF8 special characters.
www.kertembe.hu
Nice job
King regards:
Lorand
-
- Junior Boarder
- GK User
- Mon Feb 04, 2013 10:02 am
Please try this fix, it help other users and this problem is related with VirtueMart not our template http://forum.virtuemart.net/index.php?PHPSESSID=b1e6031cb4dfae5a235b3c89f178c67f&topic=111359.msg374103#msg374103
-
- Platinum Boarder
- GK User
- Mon Feb 04, 2013 11:47 am
bkrztuk wrote:Please try this fix, it help other users and this problem is related with VirtueMart not our template http://forum.virtuemart.net/index.php?PHPSESSID=b1e6031cb4dfae5a235b3c89f178c67f&topic=111359.msg374103#msg374103
Hello bkrztuk,
Thankyou, but I've already fixed this issue before your comment.
I've noticed that this issue is solved since 2.0.16c Virtuemart's version (I have the 2.0.18a version). The problem is that some .php files of your template overrides part of php code of Virtuemart component. The proof of all of this is that, as I explained in 1st post and 5th post, if you change to a Beeze template or you disable part of php code of your template, the issue disappears. That is why I came into this forum and not in the Virtuemart's forum. So the issue now is in your templates, not in Virtuemart component.
-
- Fresh Boarder
- GK User
- Wed Feb 06, 2013 12:00 am
Ok I'll check the issue but if it is caused by our overrided style changing name of html/com_virtuemart directory should resolve this problem - I've asked several users and only fix from VM forum help them.
-
- Platinum Boarder
- GK User
- Wed Feb 06, 2013 12:41 am
bkrztuk wrote:if it is caused by our overrided style changing name of html/com_virtuemart directory should resolve this problem - I've asked several users and only fix from VM forum help them.
I already checked this before the final fix. Please read THIS.
Your last update of this template (version 2.14.1, date 28/12/2012) is based from version 2.0.16 of Virtuemart (that has this issue). Maybe past versions of your template didn't override this part of code. Anyway, I think that a new update of your template based on 2.0.18a Virtuemart version (last one and without the issue), should solve this problem. Please, note that I fixed this in /html/com_virtuemart/productdetails/default.php of your template.
-
- Fresh Boarder
- GK User
- Fri Feb 08, 2013 1:37 pm
So your template and VM is not in latest supported version ? I just need this details to check where is the problem but it can be also related with changes in VirtueMart extension after update.
-
- Platinum Boarder
15 posts
• Page 1 of 1