Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    May 2007
    Posts
    11
    Plugin Contributions
    0

    Default Attribute Text fields

    Hello again,

    I am looking for some help finding a certain file to edit. On the product info page, I have my product image and product name and then my attributes, two of which are text fields.

    When I submit or add product to cart, i am taken to the shopping cart page where my attributes are displayed in bullet point fashion.

    My question is:

    What file reads the attribute form and gathers that information for display on the shopping cart page?

    I cannot seem to find this file anywhere. I am sure its in a functions page somewhere. Any help would be greatly appreciated.

    Thanks,
    Clay

  2. #2
    Join Date
    Jan 2005
    Location
    USA, St. Louis
    Posts
    3,710
    Plugin Contributions
    9

    Default Re: Attribute Text fields

    Quote Originally Posted by baazil1 View Post
    Hello again,

    I am looking for some help finding a certain file to edit. On the product info page, I have my product image and product name and then my attributes, two of which are text fields.

    When I submit or add product to cart, i am taken to the shopping cart page where my attributes are displayed in bullet point fashion.

    My question is:

    What file reads the attribute form and gathers that information for display on the shopping cart page?

    I cannot seem to find this file anywhere. I am sure its in a functions page somewhere. Any help would be greatly appreciated.

    Thanks,
    Clay
    That depends on what you want to change. It sounds like you're trying to change the way it displays on the shopping cart page? It can be controlled somewhat by the stylesheet, but that depends on what your goal is. Do you want to change the font size? Move where they are? If you look at the source of the shopping cart page, you'll see this right before the attributes section:

    <div class="cartAttribsList">

    So you could style it in the stylesheet with .cartAttribsList

    its also a "list", meaning it looks like this in the source:

    <ul>
    <li>Option Name here</li>
    <li>Another Option Name Here</li>
    <li>Yet Another</li>
    </ul>

    So if you have any ul styling in your stylesheet, that will effect it as well.

  3. #3
    Join Date
    May 2007
    Posts
    11
    Plugin Contributions
    0

    Default Re: Attribute Text fields

    I am trying to customize some functionality. The two text fields in question are a width and a height field. I need to know where the values of these are stored so I can manipulate the values and calculate widthxheight.

    I figured this to be an easier process, guess I was wrong.

    Thanks for your help,
    Clay

  4. #4
    Join Date
    Jan 2005
    Location
    USA, St. Louis
    Posts
    3,710
    Plugin Contributions
    9

    Default Re: Attribute Text fields

    Quote Originally Posted by baazil1 View Post
    I am trying to customize some functionality. The two text fields in question are a width and a height field. I need to know where the values of these are stored so I can manipulate the values and calculate widthxheight.

    I figured this to be an easier process, guess I was wrong.

    Thanks for your help,
    Clay
    Ahhh... do you mean something like, if the customer enters "x" width into field A, and height "x" into field b, they get multiplied?

    That's way above my head, and as far as I know, not something that can be done by default. As far as where they're stored... I think that they are stored in the database only when the order is complete, and before that, they are stored in the form of cookies? As I said, that is above my head.

    I'm just guessing that multiplying the two is what you're trying to do... perhaps you can find some kind of "free" javascript calculator that you can insert into the page so the customer can use that to figure out the number, or you can instruct your customers to multiply themselves width x height, and have them enter the value into a text field instead.

 

 

Similar Threads

  1. Make a text attribute required ONLY IF another attribute is set
    By lars in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 23 Jun 2012, 08:58 PM
  2. Stock Attribute and Text Fields
    By PoopyP in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 11 Aug 2011, 12:18 AM
  3. How do I change the labels of the text logon page text fields?
    By mike_9000 in forum General Questions
    Replies: 3
    Last Post: 3 Aug 2009, 08:09 PM
  4. Marking required text attribute fields with an * or (required)?
    By fepb in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 3 Mar 2007, 07:54 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