Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2006
    Location
    Jacksonville Fl
    Posts
    73
    Plugin Contributions
    0

    Idea or Suggestion Using an Attribute to Carry Computed Price through Checkout

    Version 1.3.9h

    I have done a lot of searches and can find nothing relating to this in the forums or add-ons; have also checked the eBook. I did find one thread that said the calculation could not be done but I resolved that.

    I want my customers to be able to see the final cost of a product before adding to cart; it is a per square inch calculation. I wrote a javascript function that does this using attribute fields for width and height on the actual price of the product (the multiplier) and it populates into an attribute field called Price. Now, since this attribute field carries forward, the calculated price does, too.

    I've been able to alter the code for the Shopping Cart page to show the calculated price (carried forward in the attribute value for Price) ex $95.00 instead of the actual (multiplier) product price ($2.25) but when one gets to the the Checkout Payment page, it reverts the price back to $2.25 because it is looking back to the saved price on the products table and not the price being carried forward from the shopping cart.

    Can anyone suggest a method to continue to carry the calculated price through the checkout process? I am a bit fuzzy on how to deal with the Shopping Cart Object.

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Using an Attribute to Carry Computed Price through Checkout

    Does the Product Attribute Grid mod in Free Addons not work for you? There is also Chrome's Dynamic Price Updater, though I don't know if those two play nice together, or are both needed.

 

 

Similar Threads

  1. v151 Using Payeezy -- Can't Get The Orders to Carry Over
    By DrWario in forum Addon Payment Modules
    Replies: 0
    Last Post: 10 Sep 2015, 01:09 AM
  2. Replies: 7
    Last Post: 28 Aug 2011, 11:47 PM
  3. Can I have each attribute show its price without using Priced By Attribute?
    By linuxmant in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 18 Nov 2009, 07:58 PM
  4. 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
  5. Text attribute entries do not carry over to cart contents
    By DuckBill in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 11 Sep 2007, 01:28 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