Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2013
    Posts
    811
    Plugin Contributions
    0

    Default convert sq ft price to carton

    how can i convert a sq ft price in certain categories to carton price or vice versa carton price into sq ft. price.
    Ex. laminate wood i sell by carton which is $3.99 a sq ft or $128.84 a Carton, customer inputs 1200 sq ft., need to convert sq ft. to carton.
    i hope i am explaining right.
    jimmie

  2. #2
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: convert sq ft price to carton

    Quote Originally Posted by jimmie View Post
    how can i convert a sq ft price in certain categories to carton price or vice versa carton price into sq ft. price.
    Ex. laminate wood i sell by carton which is $3.99 a sq ft or $128.84 a Carton, customer inputs 1200 sq ft., need to convert sq ft. to carton.
    i hope i am explaining right.
    jimmie
    If you are seeking a turnkey solution, there isn't one. This kind of thing is almost certainly going to involve custom coding.

    The biggest problem that I foresee is that a 'carton' isn't really something that can be used for data manipulation. You'll first need to decide/define exactly what you mean by 'carton'. It will almost certainly need to be expressed as a cubic measurement, and in addition to this, you'll need to factor in the 3rd dimension of the laminate itself because without this there is no way to determine the cubic measurement from the squared measurement.

    Once all of these values have been defined, it is then a relatively simple math problem that needs to be inserted into an appropriate place in the code.

    The question now, is how good are your PHP coding and math skills? If they aren't up to the task then your best option would be to seek a developer to do it for you (sorry, no I'm not interested). Although theoretically possible for someone to guide you through what is required in the forum, in my experience the persons seeking the help give up on it long before the persons trying to help do, and personally I find this so frustratingly annoying, that these days, I avoid getting that deeply involved,

    Cheers
    RodG

  3. #3
    Join Date
    Jul 2012
    Posts
    16,732
    Plugin Contributions
    17

    Default Re: convert sq ft price to carton

    To half way piggy back on this, it would be faster to provide to customers attributes for each Carton such that when you populate a product it identifies the square feet of product in the carton.

    Ie. Attributes like:
    Please select a dimension [display-only and default attribute sort order 0]
    By square foot ($n)
    By carton (y" long x z" wide) w square inches ($m)

    y and z are linear dimensions, w represents the total surface are, n and m are the prices of the attribute with the product priced by attribute. The information between the square brackets "[]" are settings to be applied in attributes controller and option values manager.

    To add to the skills likely need to accomplish the task would be some form of javascript like coding to provide on screen updating of total area and/or price. Otherwise, one might expect such a "builder" to be able to figure things out.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  4. #4
    Join Date
    Jan 2013
    Posts
    811
    Plugin Contributions
    0

    Default Re: convert sq ft price to carton

    i use to have min quantity filled in with the carton, and customer had to fill in sq ft. like this (1403.3) sq ft., but when sending to freight module i want it to break down the carton. so 76 cartons would be sent to frieght module

  5. #5
    Join Date
    Jul 2012
    Posts
    16,732
    Plugin Contributions
    17

    Default Re: convert sq ft price to carton

    So is the same square footage applied to each carton of every product in the store? Even if not, could still do math in your shipping module for each product to convert the square footage of each product in the order using the min quantity to determine the number of cartons of the individual product.

    Are customers only able to order in whole carton quantities? (Use of min alone suggests no, but at least one carton minimum.)
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 

Similar Threads

  1. v153 Convert all users to one price regardless of zone
    By kgt031706 in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 11
    Last Post: 26 Jan 2016, 04:38 AM
  2. Quantity per Carton Pricing
    By anim8tr in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 3 Oct 2011, 07:12 PM
  3. Replies: 3
    Last Post: 4 Mar 2009, 09:40 AM
  4. "convert" zen cart to a price comparison service
    By asiya in forum General Questions
    Replies: 0
    Last Post: 30 Dec 2006, 10:01 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