VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: Troels_E on May 03, 2015, 17:11:46 PM

Title: Cart problems using rupostel OPC, jch and Reviver template.
Post by: Troels_E on May 03, 2015, 17:11:46 PM
Live site: www.stenogfritid.dk (http://www.stenogfritid.dk)
PHP  5.6.8
Joomla version 3.4.1
VM 3.07
Template: Reviver, Rupostel OPC, JCH optimize

We have had an old VM1.1.9 site that needed replacement so moved on building a brand new site but I am facing major problems.

When adding something to the cart it adds fine and shows fine in the cart. But when deleting it VM displays a button to "continue shopping". First problem is that this button takes me to a specific product , why not to VM start or category?

Second much bigger problem is that I can go to the cart by multiple URLs:
http://www.stenogfritid.dk/dk/kasse (http://www.stenogfritid.dk/dk/kasse) or http://www.stenogfritid.dk/dk/kasse/cart (http://www.stenogfritid.dk/dk/kasse/cart) (kasse is cart in Danish)
These paths are not showing the same product if I have removed products and added other products the URLs can display different products.

Is it jch playing up (it's set to "average" to get site to a just about decent speed) or could it be Rupostel OPC?

I dunno how to troubleshoot this so any help will be greatly appreciated, thanks in advance.

Title: Re: Cart problems using rupostel OPC, jch and Reviver template.
Post by: GJC Web Design on May 03, 2015, 22:32:13 PM
try it without JCH - wouldn't trust the ext on a comp. that relies so heavily on sessions etc

And do you see any measurable increase in speed with it?
Title: Re: Cart problems using rupostel OPC, jch and Reviver template.
Post by: Troels_E on May 03, 2015, 23:38:01 PM
I used jch on a few other joomla projects I run where it gives some performance boost it also does here but  I tried to deactivate it now and clean the cache.

Still, whenever I try to put something in the cart now the modal popup (is it facebox?) show a link to continue shopping or go to cart as supposed to.
The cart link is this: http://www.stenogfritid.dk/dk/kasse/cart which is the same used in the right top corner at the cart icon/picture

When at a multilanguage site should the danish site URL end with /cart? Removing /cart still takes me to cart but then its empty.
And in the top_menu (middle top) I have a VM link (index.php?option=com_virtuemart&view=cart) that takes me to http://www.stenogfritid.dk/dk/kasse
Title: Re: Cart problems using rupostel OPC, jch and Reviver template.
Post by: GJC Web Design on May 04, 2015, 11:31:03 AM
you need to start from basics

what happens when u use sef off and the protostar template?

I know this template your using and....  just look at the amount of over writes and JS it uses.. all very pretty - but...
Title: Re: Cart problems using rupostel OPC, jch and Reviver template.
Post by: Troels_E on May 06, 2015, 23:37:04 PM
Thanks, removing JCH made wonders and the cart now behaves as supposed to. JCH is maybe not a good match for a VM site, I use it on some Joomla sites (we update them just once a year) and there it makes a good speed improvement.

For the VM site I will buy proper hosting instead of this cheap shared hosting at some point in the future and make sure I optimize pictures etc. as good as I can. Regarding the template I bought it because of the design not the coding as I haven't got much clue as to how js etc. is working. I work by trial and error and when I alter anything myself its after seeing code examples (edit .php file xxx line xx to this)  and backup has been made:-)

So I'm in well over my head with VM, but I usually end up with something usable after countless hours. I have been giving presta and woo a try on the way and didn't really like any of these systems.

Thanks for the input.