News:

Support the VirtueMart project and become a member

Main Menu

problem in adding to cart

Started by girgismcs, September 28, 2013, 18:07:07 PM

Previous topic - Next topic

girgismcs

iam using Zt_colinus from zoo template with joomla 2.5.14 and virtuemart 2.0.22c

on my local machine it works perfict without any problems

but when i moved online hosted i got an issue

when i add products to my cart it is not appering at all when i go to checkout and some other times when i add products it do appeare but not all of the products i added just 2 or 3 products show when checking out

i used the zt_colinus_quickstart and updated joomla and virtuemart and it work with no problems on my localhost

i moved to online hosting
enabled joomla cach and sit time to 60
and added to my .httaccess those lines


RewriteCond %{HTTP_HOST} ^oilzrepublic\.com$ [NC]
RewriteRule ^(.*)$ http://www.oilzrepublic.com/$1 [R=301,L]

# Enable expirations
ExpiresActive On

# Default directive
ExpiresDefault "access plus 1 month"

# My favicon
ExpiresByType image/x-icon "access plus 1 year"

# Images
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
ExpiresByType image/jpg "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 month"

# CSS
ExpiresByType text/css "access 1 month"

# Javascript
ExpiresByType application/javascript "access plus 1 year"

that is all what i did
this is my online site www.oilzrepublic.com
can you help me finding a solution for that please ?

Maxim Pishnyak

Your web page has jquery from zoo. Turn off it.
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

girgismcs

Quote from: Maxim Pishnyak on September 29, 2013, 21:10:52 PM
Your web page has jquery from zoo. Turn off it.

How i didnt enable any thing :S

Maxim Pishnyak

You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart


Maxim Pishnyak

System plugins could be regular issue. Check em.
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

girgismcs

Quote from: Maxim Pishnyak on September 29, 2013, 21:32:50 PM
System plugins could be regular issue. Check em.

i tested almost every thing and i figered out some thing

that this happened because i enables system cach plugin
and i don't know why this cach the cart page and the cart module also

i changed that in my .httaccss file

added
#If available, set the expires to 'far future'
<IfModule mod_expires.c>
   ExpiresActive On
   ExpiresDefault "access plus 1 month"
   ExpiresByType application/pdf "access plus 1 month"
   ExpiresByType application/x-javascript "access plus 1 week"
   ExpiresByType application/x-shockwave-flash "access plus 1 month"
   ExpiresByType image/gif "access plus 1 month"
   ExpiresByType image/ico "access plus 1 month"
   ExpiresByType image/jpeg "access plus 1 month"
   ExpiresByType image/png "access plus 1 month"
   ExpiresByType image/x-icon "access plus 1 month"
   ExpiresByType text/css "access plus 1 week"
   ExpiresByType text/html "access plus 1 day"
   ExpiresByType text/plain "access plus 1 week"
   ExpiresByType video/x-flv "access plus 1 month"
</IfModule>

#Turn off ETags
FileETag none

and i need to know is there a way to fix this system cach issue ?

Maxim Pishnyak

For VM powered web site cache must be off.
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart