Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Jun 2009
    Posts
    43
    Plugin Contributions
    0

    Default Add To Cart/Quantity Box on main page?

    I've been searching but surprisingly can't seem to get anywhere with this. I'd like to get "quantity box" in the "Featured Products" of the front page of my site (for entering the desired amount of products). I would also need a "add to cart" button and I would like a "more details" button too. I can't find an addin or code snippet anywhere to make this happen.

    Any suggestion on how to do this? Is this even possible with Zen Cart?

    I recently migrated over from oscommerce. If an "add to cart" button was on a page in oscommerce (for example, on the home page in the featured products section) this code would insert a quantity field:

    Code:
    $button = '<form name="cart_add" method="post" action="' . tep_href_link(FILENAME_PRODUCT_INFO, tep_get_all_get_params(array('action')) . 'action=update_product&products_id=' . $products['products_id'] , 'NONSSL'). '"><input type="hidden" name="products_id" value="' . $products['products_id'] . '"><input type="text" name="cart_quantity" value="1" maxlength="5" size="5"><br>' . tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART) . '</form>';
    Anything like this available for Zen Cart? Thanks for any suggestions.

  2. #2
    Join Date
    Jan 2009
    Posts
    310
    Plugin Contributions
    0

    Default Re: Add To Cart/Quantity Box on main page?

    Im sure you have probably already done this, but have you played around with the admin:

    admin>configuration>featured listing

    Seems to have a buy now option and more information etc etc
    Steve
    Site Under Construction: adatglobal.com

  3. #3
    Join Date
    Jun 2009
    Posts
    43
    Plugin Contributions
    0

    Default Re: Add To Cart/Quantity Box on main page?

    Yikes - sorry I missed that one - that was confusion on my part. Still new and learning.

    But I saw the "buy now" button setting in

    admin>configuration>featured listing

    The ""Display Product Buy Now Button" is set to 2051

    I can see the featured products box centered on my home page with products in it., but there are no "buy now" buttons showing (actual buttons which say buy now or add to cart). Anybody have any ideas what I am missing here?

    I've been reading and rereading the manual, and the settings seem to make sense, but I can't seem to get the "buy now" button to show on the home page in featured product.

    I even did a quick new Zen Cart install on a different directory in my site (I have bluehost and it can be quickly done from cpanel). On the new install, the buy now buttons aren't showing either. Any ideas? Thanks for any suggestions.

  4. #4
    Join Date
    Jun 2009
    Posts
    43
    Plugin Contributions
    0

    Default Re: Add To Cart/Quantity Box on main page?

    Here's the issue - I finally found this after searching:
    http://www.zen-cart.com/forum/showthread.php?t=43404

    I guess this still stands with the current version of Zen Cart.

    I'm not much of a coder, but I am going to attempt to edit my template files. If would be great to see this as an addin - (buy now, more info, quantity field on Product Features center box on homepage). If anyone has any more knowledge of this, please share any insights. I think many store owners would benefit.

 

 

Similar Threads

  1. quantity dropdown to blank box - add to cart
    By CheapStairParts in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 25 Jul 2012, 02:39 PM
  2. hide add to cart' quantity box
    By mattys in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 23 Sep 2010, 02:38 PM
  3. Add to Cart button replaced by quantity box
    By jwebster8 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 19 Aug 2010, 06:37 PM
  4. Add to Cart Quantity box
    By mOdit2me in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 15 Jan 2009, 10:22 PM
  5. Add to Cart Quantity Box missing
    By brodieaus in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 3 Jun 2008, 05: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