Results 1 to 8 of 8
  1. #1
    Join Date
    Apr 2008
    Posts
    60
    Plugin Contributions
    2

    Default 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.

  2. #2
    Join Date
    Apr 2008
    Posts
    60
    Plugin Contributions
    2

    Default 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

  3. #3
    Join Date
    Apr 2008
    Posts
    60
    Plugin Contributions
    2

    Default 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.

  4. #4
    Join Date
    Apr 2008
    Posts
    60
    Plugin Contributions
    2

    Default 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.

  5. #5
    Join Date
    Apr 2008
    Posts
    60
    Plugin Contributions
    2

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


  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

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

    You might see if this Bug Fix applies:
    http://www.zen-cart.com/showthread.p...ighlight=music
    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!

  7. #7
    Join Date
    Apr 2008
    Posts
    60
    Plugin Contributions
    2

    Default 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.

  8. #8
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

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

    Thanks for the update that that was able to fix your Redirect issues ...
    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!

 

 

Similar Threads

  1. How to change amout font size in /index.php?main_page=index&cPath=33
    By oavs in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 29 Jan 2014, 10:00 AM
  2. How to add banner to index.php?main_page=index&cPath=0 ?
    By Alexiss in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 31 Oct 2011, 04:55 PM
  3. Disable Right Column from index&cPath only
    By rbarbour in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 6 Apr 2011, 11:50 PM
  4. Category Images displayed in link /index.php?=index&cPath=0
    By shadowd in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 5 Feb 2010, 09:16 PM
  5. Replies: 0
    Last Post: 26 Oct 2007, 12:55 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg