Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2005
    Posts
    123
    Plugin Contributions
    0

    Default Calculate price by number entered as text

    Hi there,

    I am trying to set-up the following but cannot see a way of doing it?

    I want to sell electrical cables in specific lengths with a choice of connector on either end, the price of the cable is calculated by £x.xx per cm + £x.xx for connectors.

    At first I was going to use a drop down for the lengths but the vast number of lengths and prices has made this a bit of a nightmare! (we are talking 5cm to 20m)

    What I really need is an attribute for the customer to enter a length (in cm) then they select the connectors and zen cart works it out??????

    Using the quantity box as a length box is out of the question because the store has other products that are not by length PLUS it screws the maths up because it would multiply the connector attribute too.

    I've searched the forums, Google and the software add-ons but I cannot see anything that can do this?

    Any help please?????????

    Thanks in advance!

  2. #2
    Join Date
    Apr 2010
    Posts
    4
    Plugin Contributions
    0

    Default Re: Calculate price by number entered as text

    I'm having the same issue with selling carpets. I would like to sell by square meter. It would be great if you could add "per square meter" after the price to make it clear. Rugs etc. will not be per square meter.

    Any help would be greatly appreciated.

  3. #3
    Join Date
    Jan 2011
    Posts
    4
    Plugin Contributions
    0

    Default Re: Calculate price by number entered as text

    This thread should answer your question about inputting lengths of cables. The answer requires changing the text box to one that can handle numbers by rewriting bits of code in the 'core':

    Using Numeric Values And Dependant Attributes
    http://www.zen-cart.com/forum/showth...ant+Attributes

    Good luck!

 

 

Similar Threads

  1. v151 Add text attribute value entered to base price
    By DanP in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 23 Jun 2013, 12:36 PM
  2. Using attribute text value to calculate price
    By dejavu in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 28 Apr 2008, 04:29 AM
  3. Using attribute text value to calculate price
    By dejavu in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 27 Apr 2008, 06:16 PM
  4. ALWAYS: The credit card number entered is invalid. Please check the number...
    By smoochinc in forum Built-in Shipping and Payment Modules
    Replies: 9
    Last Post: 14 Dec 2007, 10:15 PM
  5. Text input box that times the total by the number entered
    By bradlawson in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 9 Dec 2006, 02:59 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