Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Jun 2010
    Posts
    2
    Plugin Contributions
    0

    Default Re: Add To Cart Button - Specials Page

    <a href="' . zen_href_link($_GET['main_page'], zen_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $specials_index->fields['products_id']) . '">' . '<img src="includes/templates/mytemplatet/images/icons/addtocart.png" alt="add to cart" />

    I wonder if this link right?
    specials page.. if that something like:
    zen_href_link('products_new'.'&cPath=' . $productsInCategory[$specials->fields['products_id']].'&action=buy_now' . '&products_id=' . $specials->fields['products_id'])

    $specials_index is work for main page, $specials is specials page.
    Last edited by jean10; 3 Jun 2010 at 05:56 PM.

  2. #2
    Join Date
    May 2010
    Posts
    13
    Plugin Contributions
    0

    Default Re: Add To Cart Button - Specials Page

    Quote Originally Posted by jean10 View Post
    <a href="' . zen_href_link($_GET['main_page'], zen_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $specials_index->fields['products_id']) . '">' . '<img src="includes/templates/mytemplatet/images/icons/addtocart.png" alt="add to cart" />

    I wonder if this link right?
    specials page.. if that something like:
    zen_href_link('products_new'.'&cPath=' . $productsInCategory[$specials->fields['products_id']].'&action=buy_now' . '&products_id=' . $specials->fields['products_id'])

    $specials_index is work for main page, $specials is specials page.
    Yes, I did spot $specials ... Just posted before I removed _index :)

    However, that link provides a 'Sorry, this product was not found

 

 

Similar Threads

  1. Disable add to cart button in specials sidebox
    By lala rock in forum General Questions
    Replies: 3
    Last Post: 6 Feb 2012, 08:01 AM
  2. Add to cart button doesn't add - from any page
    By jguttman in forum General Questions
    Replies: 23
    Last Post: 3 Oct 2009, 03:12 PM
  3. Adding add to cart button to specials sidebox
    By ctcentralinfo in forum Basic Configuration
    Replies: 2
    Last Post: 8 Jun 2008, 05:53 PM
  4. Adding quantity box to add to cart button on featured, new, specials displays
    By lankeeyankee in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 20 Sep 2007, 11:50 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