Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    Jul 2007
    Posts
    6
    Plugin Contributions
    0

    Default add to cart box on every item on my home page near the details button

    Hi
    i want to have the add to cart button to show on home page in every product in specials,featured,new products.

    something like this : http://demo.cs-cart.com/

    Please help

  2. #2
    Join Date
    Apr 2007
    Posts
    38
    Plugin Contributions
    0

    Default Re: add to cart box on every item on my home page near the details button

    This would probably involve somehow adding the 'add to cart box' from line 88 to 114 of tpl_product_info_display.php into product_listing.php

    Don't bother cutting and pasting - it won't work.

    Anyone got any tips on doing this?? I'd be keen to know for myself too!!

  3. #3
    Join Date
    Jul 2007
    Posts
    6
    Plugin Contributions
    0

    Default Re: add to cart box on every item on my home page near the details button

    Up!
    i didn't find out

  4. #4
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: add to cart box on every item on my home page near the details button

    You would need to override the following files in your includes/modules folder: featured_products.php, new_products.php and specials_index.php with versions that include code based on the lines that PRedmond mentioned in his post.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  5. #5
    Join Date
    Jul 2007
    Posts
    6
    Plugin Contributions
    0

    Default Re: add to cart box on every item on my home page near the details button

    thank you for the reply, i will test it.

    L I F E S A V E R !!!

  6. #6
    Join Date
    Jul 2007
    Posts
    6
    Plugin Contributions
    0

    Default Re: add to cart box on every item on my home page near the details button

    :So i played a lot with what KUROI mentioned, but din't figured out how to do it.
    The only thing i realised was by adding <a href product id etc to every product .
    How to do it like a function?
    This is the last thing i need to do before i go online ,but i am aging and still can't do it (I feel like a stupid member of the forum).
    It's very frustrating ....

    i have to modify add to cart box from the tpl_product_info.php?

    Can anybody help me?

 

 

Similar Threads

  1. drop down attributes at product listing page near add to cart button.
    By Ethan Kolasinski in forum Setting Up Categories, Products, Attributes
    Replies: 95
    Last Post: 8 Mar 2019, 01:51 PM
  2. v150 Did i modify the code correctly? Move the attribute near to near the add to cart.
    By ihatebusy in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 19 Jun 2012, 09:58 PM
  3. Replies: 2
    Last Post: 9 Jan 2009, 12:33 PM
  4. how to add the add-to-cart-button to the new products box on the home page?
    By ebloger in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 10 Nov 2008, 10:30 AM
  5. add to cart box on every item on my home page near the details button
    By crash_bandicoot in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 5 Feb 2008, 08:23 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR