News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Customer text input price wrong

Started by Actlas, June 05, 2013, 09:28:27 AM

Previous topic - Next topic

Actlas

We have customer text input fields with a certain price.

The price of these custom fields is added to the product total price as soon as I open the product details.
This should only happen if a customer enters text in that field.

This happens on one VM 2.0.6 site but not on the other. How is this possible?

Actlas

Could somebody please just tell me which files I should compare in the 2 websites to see which one is different and causes the problem?

Actlas


jjk

Do you also have this behavior in version 2.0.20b or newer? (It's always a good idea to test new versions on a local copy of the live shop first).

Currently my firebug plugin is hardly usable when I look for errors on a website, because I made the mistake to update to Firefox 21, which has a big bug.
But what I can see is that your product page loads at least 2 different javascript librarys, which is likely to cause problems. You may try to disable either the google javascript library or the VM javascript library in VM configuration. Also your google fonts were not loading when I had a look (probably your template tries to load them).
Another thing is that you seem to use several different 'media boxes' at the same time. like jcemediabox, slimbox, multibox, facebox (the latter loaded by VM - is replaced by fancybox in the latest VirtueMart version).
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Actlas

I know upgrading to 2.0.20 is better but we cannot do this at the moment.
I unloaded jcemediabox.

These are the 2 pages:
http://www.actual-laser.be/e-shop/brievenbussen/brievenbus-collibox-40120-detail.html
http://www.actual-laser.com/en/e-shop/mailboxes/mailbox-collibox-40120-detail.html

On the english website the price is the one with those 3 text input plugin custom fields added even though they are not filled in. Does anybody see the difference?

Actlas

changing template to beez2 doesn't help.

jjk

The only things I noticed today are that the sort order of the custom fields is different in english and dutch and that you don't have the mailbox category and products in your french menu. This might cause problems with the Joomla language switcher/router. If you don't want to offer your mailboxes in one of the countries, you would have to create a dummy (hidden) menu for the language switcher/router to work correctly.

BTW- your belgian flag switches to the belgian language database table, but you have Dutch content in this one. So apparently you have to move the content to the correct language tables. Please check in your database if all translations are in their correct language tables.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Actlas

Quote from: jjk on June 10, 2013, 12:31:31 PM
The only things I noticed today are that the sort order of the custom fields is different in english and dutch and that you don't have the mailbox category and products in your french menu. This might cause problems with the Joomla language switcher/router. If you don't want to offer your mailboxes in one of the countries, you would have to create a dummy (hidden) menu for the language switcher/router to work correctly.

BTW- your belgian flag switches to the belgian language database table, but you have Dutch content in this one. So apparently you have to move the content to the correct language tables. Please check in your database if all translations are in their correct language tables.

The reason the sort order might be different is because the websites are actually totally separate and linked to each other. Not 1 multilingual website. The joomla and javascript config of both vm and joomla itself is the same though as far as I can tell. There has to be a file wrongly modified in the english version I think.

Can someone who has some firebug experience take a look perhaps?

As soon as you open http://www.actual-laser.com/en/e-shop/mailboxes/mailbox-collibox-40120-detail.html you can see the price wrongly increases with thos of the text plugin fields added, you can see it quickly change.
This doesn't happen here: http://www.actual-laser.be/e-shop/brievenbussen/brievenbus-collibox-40120-detail.html

jjk

If nobody knows/sees what is wrong, you might consider to download the folders from the two websites and compare them using the free 'WinMerge' to locate the differences.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Actlas

I already did that to compare /components/com_virtuemart and administrator/components/com_virtuemart

Actlas

Fixed - plugins ... textinput.php file was different