Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    Jan 2005
    Location
    USA, St. Louis
    Posts
    3,710
    Plugin Contributions
    9

    Default Zen Experts... need help with modifying Cross Sell page...

    Hello!

    I'm trying to help a client make a modification to his cross sell mod.

    Instead of just SHOWING an item for his customers, he wants a buy now button so they can add the product.

    You can see what I'm doing here:

    http://dev.neoheat.com/index.php?mai...&products_id=1

    (click on the "we also recommend")

    I have the "Display Cart After Adding Product" set to false.

    I'd like it to return to the same product page after adding to cart, but instead its trying to go to:
    http://dev.neoheat.com/index.php?main_page=product_info

    I know its an error with my code, I've kind of hacked up the section to get this to work.

    Any way I can stop zen cart from trying to change the page at all, after something being added to the cart?

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Zen Experts... need help with modifying Cross Sell page...

    Can't see your exact code but did notice that the normal product buy button on hover states "add to cart" and this button in the also recommend area on hover states "buy now"...

    So I assume that the code snippet that you hacked in is not the same as the "add to cart code....if correct why not?
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jan 2005
    Location
    USA, St. Louis
    Posts
    3,710
    Plugin Contributions
    9

    Default Re: Zen Experts... need help with modifying Cross Sell page...

    Quote Originally Posted by kobra View Post
    Can't see your exact code but did notice that the normal product buy button on hover states "add to cart" and this button in the also recommend area on hover states "buy now"...

    So I assume that the code snippet that you hacked in is not the same as the "add to cart code....if correct why not?
    Its the same as the code from the product listing pages, because I don't want a quantity box.

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Zen Experts... need help with modifying Cross Sell page...

    Its the same as the code from the product listing pages
    I would take a look at the default action of this productlisting page and it may be better to use the code for the "add to cart" or same code and remove the qty display as I think that this routine performs the page direction that you want
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Jan 2005
    Location
    USA, St. Louis
    Posts
    3,710
    Plugin Contributions
    9

    Default Re: Zen Experts... need help with modifying Cross Sell page...

    Quote Originally Posted by kobra View Post
    I would take a look at the default action of this productlisting page and it may be better to use the code for the "add to cart" or same code and remove the qty display as I think that this routine performs the page direction that you want
    I've changed it to match the code that is on the product Info display page, but now that's causing anything I add to the cart to be the last product on the page, since its an input within the add product form. Know what I mean? I had figured that using product listing codes would work, since there can be a product listing (like new products) below a regular product page.

  6. #6
    Join Date
    Jan 2005
    Location
    USA, St. Louis
    Posts
    3,710
    Plugin Contributions
    9

    Default Re: Zen Experts... need help with modifying Cross Sell page...

    Quote Originally Posted by jettrue View Post
    I've changed it to match the code that is on the product Info display page, but now that's causing anything I add to the cart to be the last product on the page, since its an input within the add product form. Know what I mean? I had figured that using product listing codes would work, since there can be a product listing (like new products) below a regular product page.
    Doh, nevermind, there isn't a zen cart setting where new product can be below the product info display page...


    But I still wonder if there's a way to do what I want to do without the redirect being messed up...

 

 

Similar Threads

  1. Replies: 1
    Last Post: 18 Sep 2013, 11:24 PM
  2. Can you please help with Cross Sell?
    By MM_Dude in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 5 Sep 2012, 07:55 PM
  3. Need help of Cross Sell module
    By joshuayang in forum General Questions
    Replies: 5
    Last Post: 29 Oct 2006, 07:06 PM

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