News:

Looking for documentation? Take a look on our wiki

Main Menu

Add to cart issues - what's the actual solution?

Started by stuclark, January 06, 2012, 18:30:11 PM

Previous topic - Next topic

bytelord

graveir,


Seems that addJs is not working ... so is a jquery conflict. You could try to enable the usage of vm jquery without blocking it out with jqueryeasy. Go to Configuration-> Templates and at the left bottom Activate Css Styles & Javascripts please enable the options Using the VirtueMart jQuery and Using the product Scripts.

Regards
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

kalogeros

#166
Hello guyz,

I've been trying to fix this problem for about 2 dayz.
Well i cannot update or delete an item from the cart immediately.
Seems it uploads or deletes after some seconds delay and sometimes this results on removing a new product that i've added.
Maybe its a conflict i dunno but seriously PLZ YOU NEED TO HELP.
Site: www.imousakas.com
(have uploaded a testing product).

Mod Edit: Double post remove it.

kalogeros

*** forgot to add that i'm using a MULTILINGUAL SITE and vm2, joomla 2.5 i guess, template:theme257.

bytelord

#168
@kalogeros

Geia sou,

Everything is working fine, there is no any javascript confict, you just cache your site and vm2 also ... please exclude from the cache the cart page and the cart module if your cache plugin lets you to do it. I usually suggests to vm2 users, use JotCache if you search the forum you will find some good posts, like: https://forum.virtuemart.net/index.php?topic=108174.0

Always use firebug to examine your site code and styling.

Regards
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

kalogeros

Thank you very much Nikos.
I rly appreciate the quick response. I'll try it out tomorrow, hope it works and let you know how it goes.
Geia kai se sena! (in case you're a Greek aswell) :D

kalogeros

@bytelord

Hi again,

Well i've configured some options of the jotcache and forum's technichs aswell. It seems it works better
but now i'm facing this problem that after i remove a product from cart, next time if i add one and try to update, it removes it again.
Does it still have to do with chache?

kalogeros

Also noticed that if it works better if i turn off SEF (but i still need SEF=on;). I'll leave SEF=off at the moment so that you can test.
But what i'm saying is that if i try to update and then remove it still updates twice and only if i go to the home page it seems it removes.
In reverse if i delete from cart and then try to add and update, i removes again. Dunno what to do. I've configured jotCACHE exclude all components caching,
added to cache.php if !$SESSION[cartid]..ect and also in the template removed user6. Also need SEF =on. why does this happen?

Thanks in advanced!

bytelord

Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

kalogeros

Ok i'm a bit of mad confused and dissapointed. :(
I need to find a solution with it(if you help me solve it i'll give you try one of my products that i'll upload free (if you're in greece))!

Well i've tried everything. I've definately tried excluding from the index.php the position of cart with jot comments and after going to
the jotcache component and added to the TPL Exclude (user6 and xhtml)-> Question:Do i need to do both?->(add the TPL Exclude on the component and also the index.php page?)
Secondly, i've tried on the URL Exclude:com_virtuemart both adding only cart and page=shop.cart,page=checkout.index,page=shop.product_details,pop=1 and both of them.
So Second Question(cause i'm confused with it). Do i have to put page=shop.cart,page=checkout.index,page=shop.product_details,pop=1 on the URL Exclude:com_component as
jotCache's forum says http://www.jotcomponents.net/forum/6-jotcache-installation-setup/88-virtuemart-2-shopping-cart-module#88 or on Browser Cache tab(Exclude URI) which
amlil71 said https://forum.virtuemart.net/index.php?topic=108174.msg370680#msg370680 ?? Cause what does he mean with Exclude URI?->if i put this whole params on the Exclude URI(browser Cache tab(on jotCache component)) it doesnt accept it.

So i dont know what to do i still have the problem wich when i add to cart and update and then delete it updates twice again. or it deletes in the main page.
And also what happens if i put SEF?

I cant switch on other e-shops cause i've already written to much code for joomla on the backend and all of my work will go waste.
PLZ FIND ME A SOLUTION.

bytelord

#174
Hello,

Your could not use cache and js/css compression Technics at the moment. I use css/js compresion and caching when my site is finished, i solve any issues and then i go live.
There is also possibility your template is not update, but for this i cannot do much, so,

Try without template overrides and without caching/compression on a local installation
If is working then please update your template files to your current vm2 version:

Please read this first: http://forum.virtuemart.net/index.php?topic=108212.0

changes between versions: http://virtuemart.net/index.php?option=com_content&id=416

Also there is layoutchanges.zip files after 206 that will show you exactly the areas that the code have been changed. Those are images comparing to previous versions will help you to update your template overrides easy.

http://dev.virtuemart.net/attachments/download/456/com_virtuemart.2.0.8_layout_changes.zip
http://dev.virtuemart.net/attachments/download/476/com_virtuemart.2.0.10_layout_changes.zip
http://dev.virtuemart.net/attachments/download/492/com_virtuemart.2.0.12_layout_changes.zip

Also useful links if you are not familiar with template overrides for vm2 or joomla:

Use firebug to examine you site code and css styling: https://forum.virtuemart.net/index.php?topic=102850.0

Overrides:
Creating Template overrides: https://forum.virtuemart.net/index.php?topic=98505.0
Template System: https://dev.virtuemart.net/projects/virtuemart/wiki/Hints_for_the_use_of_the_template_system

PS: As i have seen also template monster has refused from many users that bought their product to update them in a newer version, so please contact them, if they cannot update your template files for you, you can do it by yourself with the instructions i gave you or use other template for vm2. Or place it as a commercial job so someone update the template for you under jobs sections.

Regards
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

kalogeros

Well i'll try what you wrote above but it seems too wierd to me that it used to work before i went to multilingual site.
Cause that will be the second template i update. I also changed another one before cause of the same issue. So i firstly tested this one and then
bought it. Are you sure that i should change a template?

bytelord

Hi,

I am not sure, no. Because those are not products that i have use them, especially third party templates, i create my own. As i suggest before the best is use the default template without overrides and test your site. If is working and the functionality is as you want it, enable your template back and check for any errors using firebug (e.g. javascript conflicts), also may be there is need to update your template files. Then after you finish your site try with cache and compression options to improve response and speed.

What's your exactly vm2 version you are using? hopefully 2.0.14.

Regards
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

kalogeros

Well yes i'm using 2.0.14 and it says to update to 2.0.6(should i?). Anyway i've messed up everything. had taken a backup before and then removed some plugins and then restored the
whole (home) on the server. But the administrator's changes didnt restore and stayed as they were made. So now there are more problems.

kalogeros

Man i'm rly tired of it. I can pay about 200-300 euro for someone to fix this problem and change template etc. Can you do it for me or someone else?
i'm rly sick and tired of it.

bytelord

Hi,

I think means that you have version 2.0.6 (did you try to clean your cache?). I send you a PM.

Regards
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!