Results 1 to 2 of 2

Hybrid View

  1. #1
    Join Date
    Mar 2008
    Posts
    5
    Plugin Contributions
    0

    Default Adding text to "add to cart" box

    Hello, I'm an obvious newbie here. i wanted to see if someone could help. I've looked around on here and have stared at different files in an attempt to lead myself to an answer. What I would like is to offer non-stock items. All I want is to add a conditional which would input text in or next to the "add to cart" box when the stock quantity is below zero or maybe a given letter code. I was thinking of text like "Special order item" and maybe below that giving and stated ship time such as, "ships within 4-6 business days". I'd hope to think I could resolve this myself, but time is a bit of an issue. So...any help could be greatly appreciated

  2. #2
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: Adding text to "add to cart" box

    If the conditions (eg: "ships in 4 - 6 days) are unique to each product, then this looks like it will involve the dbase - as you will have to insert those variables when uploading / editing a product's details.

    So you would need to modify the php files that govern product data input, create an input field, modify or add a table in the dbase, and also consider how/where that data is output (in the browser, on confirmation e-mails, etc).

    This is, I believe, a complete module in its own right, so you'd either have to code it yourself, or solicit some consultancy in appropriate places in the forum.
    20 years a Zencart User

 

 

Similar Threads

  1. Quantity Discount box and "add to cart" button does not show up in "Category" view
    By petro in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 10 Nov 2013, 09:48 PM
  2. Adding Qty Box to Cross Sell above "Add to Cart" button
    By bigstore in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 6 Mar 2012, 06:37 PM
  3. Replies: 1
    Last Post: 1 Apr 2010, 10:22 AM
  4. Replies: 0
    Last Post: 17 Mar 2010, 05:24 PM
  5. Help with "Add to cart box", a font change and "New Produts Module"...
    By BenhamCollectibles in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 5 Dec 2009, 05:24 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