Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2009
    Posts
    2
    Plugin Contributions
    0

    application error Adding options below a drop down.

    Ok, so I'm totally new to zen-cart but a novice php coder. I made a php script which takes two form inputs, and multiplies them to give you a square foot reading.

    What I need is to get this to show up in certain products, such as a painting. The drop down options should say "12x12" "12x24" and "24x24" then there should be one titled "Custom" and below that drop down you would see two text boxes, one labeled height and one labeled width.

    I have accomplished this all in pure php outside zen-cart but I am trying to find the file where to import it into zencart. The file I found which displays the options is tpl_modules_attributes.php and I found where to paste my code, what I need help with is displaying my form code only if the options = X and when the product is added to the cart, the values from my form are stored in the database.

    Does this make since? I can't figure out what command to use to pull option names from the database and how to insert my command back into the database.

  2. #2
    Join Date
    Jun 2009
    Posts
    2
    Plugin Contributions
    0

    Default Re: Adding options below a drop down.

    Oh, I am using the newest version of zen cart

 

 

Similar Threads

  1. v151 Drop down box for postage options
    By Togfather in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 12 Aug 2014, 10:57 AM
  2. Help w/ drop down box for options...
    By keekeedeke in forum Customization from the Admin
    Replies: 1
    Last Post: 8 Nov 2010, 11:42 AM
  3. No drop down options
    By sperdie in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 21 Dec 2008, 10:04 PM
  4. Drop down menu options for products?
    By mreateg in forum General Questions
    Replies: 1
    Last Post: 6 Jun 2008, 10:13 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