Results 1 to 8 of 8
  1. #1
    Join Date
    Jun 2007
    Location
    NJ
    Posts
    83
    Plugin Contributions
    0

    Default Special Square Foot Pricing Attribute

    OK. I want to set up attribites for a customer to order canvas prints. I want the total price to be determined by the square footage of the attributes. For instance, a customer chooses 30" x 40". 30" SIDE is one attribute and 40" SIDE is the other. That is rounded to 8.25 Sq feet. At $5/Sq Foot that comes to a total of $41.25.

    Can someone suggest how this could be implimented? I can see that the attibutes controller is quite advanced. I just need a push and some suggestions from the pros here on this one.

    Thanks for your time
    Jeff

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Special Square Foot Pricing Attribute

    If you need to offer this in inches i.e. 30"x40" - then pricing by the sq inch would be easier than converting in the background to sq ft. and you can specify min and units if desired.

    .0347 per sq inch
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jun 2007
    Location
    NJ
    Posts
    83
    Plugin Contributions
    0

    Default Re: Special Square Foot Pricing Attribute

    Thanks Kobra. I will try it. How would it multiply the 2 lengths to egual the SQ inches?

    In theory if I use your example and order a 30x40 print at .0347/sq inch the total would come to $416.40

    What would be the correct way to se this up?

    Thanks for your help. I really appreciate it.

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Special Square Foot Pricing Attribute

    How would it multiply the 2 lengths to egual the SQ inches?
    You would have to add a routine to grab the entered values and do the math for this and pass it on to the cart. I believe the best place for this might be includes/classes/shopping_cart.php at about line 225 or so is the relavent code and you need to add your calc before this.

    This file is not overrideable so take the necessary precautions...I usually down load to the local then rename the server copy to shopping_cart.orig to preserve it and to also let me know that I have edited this core file
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Jun 2007
    Location
    NJ
    Posts
    83
    Plugin Contributions
    0

    Default Re: Special Square Foot Pricing Attribute

    Do you know of anyone that can put that together for a reasonable cost? Shoestring budget is my obstacle.

    I would appreciate any ideas.

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Special Square Foot Pricing Attribute

    I do not know of anyone that will work for "shoestrings"...
    Zen-Venom Get Bitten

  7. #7
    Join Date
    Jun 2007
    Location
    NJ
    Posts
    83
    Plugin Contributions
    0

    Default Re: Special Square Foot Pricing Attribute

    Of coarse. What i mean is I would like to find the cheapest solution possible.

    Jeff

  8. #8
    Join Date
    Jun 2007
    Location
    NJ
    Posts
    83
    Plugin Contributions
    0

    Default Re: Special Square Foot Pricing Attribute

    KOBRA, would you be up to the challenge for me on this one?

 

 

Similar Threads

  1. Looking for Square foot calculator extension..
    By rudyg99 in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 16 Apr 2012, 10:20 PM
  2. Pricing By Square Foot, Selling By The Carton
    By b18ch1ck in forum General Questions
    Replies: 1
    Last Post: 24 May 2010, 11:17 PM
  3. Selling by the square foot?
    By bogie in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 17 Sep 2008, 08:07 PM
  4. Square foot pricing?
    By allusiv in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 30 Jul 2007, 12:30 AM

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