Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Virtuemart Template - PureMart (SKU# FLEX-00010)

TOPIC: After checking out - Product Still in Cart

After checking out - Product Still in Cart 9 years 11 months ago #9361

Hi Support, not for sure if this question has came up before but I am having issues with my cart.

Joomla 2.5.19
Virtuemart 2.0.26d

The cart is working fine along with the certificate that I bought from Godaddy. When checkout is complete, all the items I bought are still in the cart. I would have expected them to go away after purchase. I am also using PayPal Pro as well. Is there a way I can fix where the cart clears when the customer pays? I'll send you a link by email.
The administrator has disabled public write access.

After checking out - Product Still in Cart 9 years 11 months ago #9372

HI,

Run another test, but this time pay attention the domain name and protocols.

If you add product to cart through yourdomain.com and complete checkout through www.yourdomain.com
Then the product will be cleared on www-domain name only, the non-www might still have the product in the cart as if you didn't go though checkout. Because the adding product to cart is handled by session in the frontend, and those sessions are stores with domain names (www.yourdomain.com works as if it is subdomain of yourdomain.con so they are different domains), if the domain name is changed at some point, it might messed up the session. Normally session for added products in the frontend is cleared when:

- particular time relapsed. (session timeout in Frontend)
- logout (if you were logged in)
- completing checkout

I am sure your problem has something yo do with either because you redirected from http:// to https:// or from non-www to www at some point.

But no matter what causes that, that issue can't be related to our VM template, ecause "session" is a very sensitive event and is handled by core files and mostly by joomla core (not even by Virtuemart Component), as you might also know, templates are ineffective in backend (administrator) and on those kind of sensitive events. Templates are for visual layouts only.

Check forum.virtuemart.net for further information, i am 100% sure this has been discussed in there already.

Regards,
Support
Last Edit: 9 years 11 months ago by Support.
The administrator has disabled public write access.

After checking out - Product Still in Cart 9 years 11 months ago #9501

I am having some really big issues with this. I applied a debug statement inside this method "removeCartFromSession " and I notice that it is not even called. Can you show me what you did to see the difference in the domain name? I even reverted back to Virtuemart 2.0.26a and it is still not working. Any thoughts?
The administrator has disabled public write access.

After checking out - Product Still in Cart 9 years 11 months ago #9508

Hi,

Does everything work find with official Virtuemart Layout and official Virtuemart Shopping Cart Module?

To temporarily disable PureMart and the shopping cart module comes with the PureMart;
find these folders:
/templates/YOUR_TEMPLATE/html/com_virtuemart/
/templates/YOUR_TEMPLATE/html/mod_virutemart_cart/


and rename them to:
/templates/YOUR_TEMPLATE/html/com_virtuemart2/
/templates/YOUR_TEMPLATE/html/mod_virutemart_cart2/


then once you browse your website, you will see you don't see any sign of PureMart nowhere. Then test again, see what your website do with the official Virtuemart.

Regards,
Support
Last Edit: 9 years 11 months ago by Support.
The administrator has disabled public write access.

After checking out - Product Still in Cart 9 years 11 months ago #9523

Hi Support, I did what you asked and it is definitely not the PureMart Template. The same action is happening on the regular Virtuemart template as well. I have turned off my SSL Certificate to the site and I have switched out my .htaccess file for the original Joomla file and still no go. Are there any tips you can provide that may help in pinpointing this error?
The administrator has disabled public write access.

After checking out - Product Still in Cart 9 years 11 months ago #9525

Hi,

Remember what i have told you about www and non-www? I am sure it has something to do with the domain. Because there is no other explanation that i can think of.

Also, check forum.virtuemart.net, see what people say about it in the official forum.
I am sure this has been discussed a lot in there.
The administrator has disabled public write access.

After checking out - Product Still in Cart 9 years 11 months ago #9540

Hi Support, I just got off the phone with PayPal and it was my luck I spoke to a rep that was knowledgeable about Virtuemart. He stated that all the issues I was having was due to my PayPal account. It was set up incorrectly, so he put a ticket into their support team to fix it. I got an email the very next day stating that it was fixed, so I put in my username, password, and signature from PayPal.com and it works! The cart now clears out so I am happy. Thanks for your advice and support on this, I have a feeling this will become helpful to the next person.
The administrator has disabled public write access.

After checking out - Product Still in Cart 9 years 11 months ago #9561

Wowww!!

If i were you, calling PayPal would be the last thing i would do. Instead of blaming myself and my codes, maybe I should do the same thing sometimes in some situations ;)

Anyway, i am glad it eventually works out as expected. Thanks for updating your topic and let me know about the solution.

I hope other people in this forum will use some help from this discussion as well.

Case solved. Topic is closed.

Regards,
Support
Last Edit: 9 years 11 months ago by Support.
The administrator has disabled public write access.
Time to create page: 0.066 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo