Forums / General Questions / Add To Cart From Product Details index&cPath Issue

Add To Cart From Product Details index&cPath Issue

Locked

Views: 1,098

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
13 Jan 2013, 9:26 PM
#1
jbible avatar

jbible

New Zenner

Join Date:
Apr 2008
Posts:
60
Plugin Contributions:
0

Add To Cart From Product Details index&cPath Issue

I am having an issue with the add to cart button on product detail pages when "Display Cart After Adding Product" is set to false.

When the BUY button is clicked... instead of returning to the category or staying on the details page... we end up at...

index.php?main_page=product_music_info&cPath=3_4 (FYI... all my products are music type)

I obviously want this to go to....

index.php?main_page=index&cPath=3_4

Looks like everything else is working correctly... since it is pulling the category correctly. Just that pesky "product_music_info" instead of "index" seems to be the problem.

Any pointers in the right direction of how to correct this would be greatly appreciated. Ive been searching the web and forum on and off for days but can't seem to find a fix for this particular version of this issue.

Thank you.

13 Jan 2013, 10:07 PM
#2
jbible avatar

jbible

New Zenner

Join Date:
Apr 2008
Posts:
60
Plugin Contributions:
0

Re: Add To Cart From Product Details index&cPath Issue

Development copy of my site I am trying to get this working on in case that helps...
http://beta.experimedia.net

13 Jan 2013, 11:19 PM
#3
jbible avatar

jbible

New Zenner

Join Date:
Apr 2008
Posts:
60
Plugin Contributions:
0

Re: Add To Cart From Product Details index&cPath Issue

Ok excuse my previous ignorance... I've realized what I am suggesting above isnt even how ZC is supposed to work by default. It's supposed to stay right on the info page when clicking the buy button.

So seems the issue is I am missing the product id in the url somehow. Would love to get this working the way it is supposed to. Ill keep researching but any pointers in the right direction would be helpful. I assume their is something in one of my template files causing this to happen.

14 Jan 2013, 1:09 AM
#4
jbible avatar

jbible

New Zenner

Join Date:
Apr 2008
Posts:
60
Plugin Contributions:
0

Re: Add To Cart From Product Details index&cPath Issue

This has something to do with the product type music. Set up a test "general" product and it works fine.

Been comparing general product files vs music product files... as far as completely replacing the music product template files with the code from the general product info files... but no change in behavior. Test with the default template as well to no avail. Gonna keep digging here.

Could this possibly a bug with product types? Long shot but it is certainly starting to feel like a possibility.

14 Jan 2013, 3:01 PM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Add To Cart From Product Details index&cPath Issue

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

14 Jan 2013, 3:06 PM
#7
jbible avatar

jbible

New Zenner

Join Date:
Apr 2008
Posts:
60
Plugin Contributions:
0

Re: Add To Cart From Product Details index&cPath Issue

Yeah it does. Thanks for the reply. I finally found that post right after I reported it as a bug. Sincerest apologies for the duplicate. Not sure why that post didn't come up in my searches before I posted all this. Rusty at forums I guess.

14 Jan 2013, 3:10 PM
#8
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Add To Cart From Product Details index&cPath Issue

Thanks for the update that that was able to fix your Redirect issues ... :smile:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!