Results 1 to 5 of 5
  1. #1
    Join Date
    May 2005
    Location
    England
    Posts
    675
    Plugin Contributions
    0

    Default Add to cart on Product Lising and Display Only Attributes

    Hi there,
    I am running 1.58a and on previous versions I used to be able to change a small bit of code so that the 'Add to Cart' button appeared for display-only attributes, as opposed to 'select options / more info' buttons. I am sure I have looked in the same places, but I am aware there are many big changes now in the new version. I wonder if anybody knows where this may be changed in this version please? These items I have display only attributes pertaining to whether it is a parcel or large letter format, and Google Product Search feeder categories. So its not essential for the customer to see.

    It is for the product - listing page (category of items), thanks in advance!

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,337
    Plugin Contributions
    94

    Default Re: Add to cart on Product Lising and Display Only Attributes

    What's the site's setting for Configuration / Attribute Settings / Read Only option type - Ignore for Add to Cart?

    That's been around "forever" and, if set to 1 should enable an add-to-cart on the listings ... if the product has no non-read-only attributes.

  3. #3
    Join Date
    May 2005
    Location
    England
    Posts
    675
    Plugin Contributions
    0

    Default Re: Add to cart on Product Lising and Display Only Attributes

    Quote Originally Posted by lat9 View Post
    What's the site's setting for Configuration / Attribute Settings / Read Only option type - Ignore for Add to Cart?

    That's been around "forever" and, if set to 1 should enable an add-to-cart on the listings ... if the product has no non-read-only attributes.
    Thanks for the reply. I have it set to 1, which I thought it might be enough. Though with this set I no longer get the yellow attribute message in shopping cart so I assumed it just covered that page and the product info page? Unless something is remiss in my template somehow?

  4. #4
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,337
    Plugin Contributions
    94

    Default Re: Add to cart on Product Lising and Display Only Attributes

    Quote Originally Posted by HeathenMagic View Post
    Thanks for the reply. I have it set to 1, which I thought it might be enough. Though with this set I no longer get the yellow attribute message in shopping cart so I assumed it just covered that page and the product info page? Unless something is remiss in my template somehow?
    I'm unfamiliar with the wokiee template, so can't answer that last question.

  5. #5
    Join Date
    May 2005
    Location
    England
    Posts
    675
    Plugin Contributions
    0

    Default Re: Add to cart on Product Lising and Display Only Attributes

    Quote Originally Posted by lat9 View Post
    I'm unfamiliar with the wokiee template, so can't answer that last question.
    Thats okay, I understand. I did it on previous templates and as far as I can recall part if it was simply to change a 1 to a 0 or vice versa in relation to attribute setting. I thought it was product_listing.php file or similar. Hopefully I have it on a backup somewhere on old template, it was a line from stock zencart code previous to 1.58a though.

 

 

Similar Threads

  1. v157 shopping cart error message for 'display only attributes' in 1.57a
    By HeathenMagic in forum General Questions
    Replies: 4
    Last Post: 4 Nov 2020, 10:00 AM
  2. v139a product listing page, read only attributes, add to cart button
    By buildingblocks in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 20 Sep 2013, 06:03 AM
  3. Product Display - Move Attributes above Add to cart
    By HOBOcs in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 2 Mar 2008, 09:55 PM
  4. Product info pages showing "add to cart" only for products with attributes
    By hrm in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 22 Aug 2006, 03:24 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