iEntry 10th Anniversary Forum Rules Search
WebProWorld
Register FAQ Calendar Mark Forums Read
Graphics & Design Discussion Forum Post your graphics design questions/comments/ideas in here. Ask questions, post tutorials, discuss trends and best practices. Sub-forum for website accessibility and usability.

Share Thread: & Tags

Share Thread:

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-11-2008, 04:41 PM
WebProWorld Member
 
Join Date: Jan 2008
Posts: 25
calledminime RepRank 0
Default Automated Pricing Table Generator

Hello everyone,

I came across a nifty feature on a website that I think would be something beneficial to add on the site I work on.

Essentially on the order page, there is a price table that is automatically updated based on the options selected in the drop-down fields below.

For example, the table has a base price of $5.00 per product. If you select an add-on option of $0.50, the pricing table is automatically updated to $5.50 per product; if another add-on of $1.00 is added, then the total cost per product is updated to $6.50 - this automatic updating would be very beneficial, especially with the number of options we offer on our site. It would also be great to be able to extend that pricing to various price quantity breaks as well.

Anyone have any idea how this can be done? Any thoughts/guides would greatly be appreciated!


Much thanks
Reply With Quote
  #2 (permalink)  
Old 08-12-2008, 05:31 PM
WebProWorld Veteran
 
Join Date: Apr 2004
Posts: 349
imvain2 RepRank 1
Default Re: Automated Pricing Table Generator

I have actually done this many times, it isn't "that" difficult.

The "hard" part would be the getting this process to work when adding the items to your shopping cart.

I started writing out pseudo code and the javascript for this, however the shopping cart would be the sticking point.

Last edited by imvain2; 08-12-2008 at 05:34 PM.
Reply With Quote
  #3 (permalink)  
Old 08-12-2008, 05:51 PM
WebProWorld Pro
 
Join Date: May 2008
Location: London, UK
Posts: 110
seopo RepRank 2seopo RepRank 2
Default Re: Automated Pricing Table Generator

It's probably done by AJAX. It'll be a steep learning curve but there are plenty of articles out there on how to
Reply With Quote
  #4 (permalink)  
Old 08-12-2008, 05:58 PM
WebProWorld Veteran
 
Join Date: Apr 2004
Posts: 349
imvain2 RepRank 1
Default Re: Automated Pricing Table Generator

You don't have to use AJAX, that would just be overkill. This can be done with simple javascript.
Reply With Quote
  #5 (permalink)  
Old 08-12-2008, 06:05 PM
WebProWorld Member
 
Join Date: Jan 2008
Posts: 25
calledminime RepRank 0
Default Re: Automated Pricing Table Generator

Thanks for the replies -

I already have the proper coding in place for the product options to integrate with the shopping cart - I am wondering if there is a piece of javascript or something else I can add to the option field to automatically pull and display the pricing values...

Anyone have any idea what kind of javascript this particular situation would use? Seems like there are a lot of scripts out there but I can not think of the proper term to search for this function/operation in Google to get a good start...

Any ideas?
Reply With Quote
  #6 (permalink)  
Old 08-12-2008, 06:07 PM
confettiguru's Avatar
WebProWorld Pro
 
Join Date: Apr 2008
Location: California
Posts: 120
confettiguru RepRank 3confettiguru RepRank 3
Default Re: Automated Pricing Table Generator

I use the shopping cart from Network Solutions and that feature is automatic. It is definitely a nice thing to have
Confetti Guru
PartyConfetti.com - Confetti by the Pound Confetti by the Packet

Last edited by confettiguru; 08-12-2008 at 06:08 PM. Reason: Forgot signature
Reply With Quote
  #7 (permalink)  
Old 08-12-2008, 06:28 PM
spiderbait's Avatar
WebProWorld Pro
 
Join Date: Oct 2003
Location: Gibsons, BC, Canada
Posts: 271
spiderbait RepRank 5spiderbait RepRank 5spiderbait RepRank 5spiderbait RepRank 5spiderbait RepRank 5spiderbait RepRank 5
Default Re: Automated Pricing Table Generator

Quote:
Originally Posted by calledminime View Post
Thanks for the replies -

Anyone have any idea what kind of javascript this particular situation would use? Seems like there are a lot of scripts out there but I can not think of the proper term to search for this function/operation in Google to get a good start...

Any ideas?
With a bit of study and some effort setting it up, I think the form field syncronization of wForms will do the trick for you. It's an open source solution that works well for all sorts of form situations.

You'll just need to code your product pages to input the various pricing options into the form field options that will be shown/enabled or hidden/disabled based on prior selections in the product form.
__________________
Jade Burnside, Ahead of the Web
What good is your web site if no one can find it?
SEO & Optimized Web Site Design
Reply With Quote
  #8 (permalink)  
Old 08-13-2008, 04:36 AM
WebProWorld New Member
 
Join Date: Aug 2008
Posts: 19
will22 RepRank 0
Default Re: Automated Pricing Table Generator

Interesting. I think AJAX is doing the magic..
__________________
Read the forum rules about signatures
Reply With Quote
  #9 (permalink)  
Old 08-13-2008, 03:01 PM
spiderbait's Avatar
WebProWorld Pro
 
Join Date: Oct 2003
Location: Gibsons, BC, Canada
Posts: 271
spiderbait RepRank 5spiderbait RepRank 5spiderbait RepRank 5spiderbait RepRank 5spiderbait RepRank 5spiderbait RepRank 5
Default Re: Automated Pricing Table Generator

Quote:
Originally Posted by will22 View Post
Interesting. I think AJAX is doing the magic..
Yes Will. I think this could be correctly called AJAX, although a fairly simplified form.
__________________
Jade Burnside, Ahead of the Web
What good is your web site if no one can find it?
SEO & Optimized Web Site Design
Reply With Quote
  #10 (permalink)  
Old 08-14-2008, 02:33 PM
WebProWorld Member
 
Join Date: Jan 2008
Posts: 25
calledminime RepRank 0
Default Re: Automated Pricing Table Generator

Thanks for the responses.

I found something that seems like it would work well - JavaScript - Total an Order Form - mredkj.com - specifically sample 5.

There are a few changes - like adding a discount for quantity orders and displaying various prices at different quantities instead of just one total price...unfortunately, I have very little experience with java script so I am unable to try and make these changes...

Anyone have any ideas?
Reply With Quote
  #11 (permalink)  
Old 08-14-2008, 02:54 PM
WebProWorld Pro
 
Join Date: Jan 2005
Location: Denver
Posts: 248
chiron RepRank 2
Default Re: Automated Pricing Table Generator

You could do it with rather simple modification to this example 5 you mention, or not so simple, depending on how much user input you want to cause versus else-if logic in the JS... better solution usability wise would probably be a more dynamic method.

If you're going to increase the price per unit - as with shipping - fine to delay the display. If you are going to lower the price per unit based on quantity, you'll want the user to see that without clicking (or worse, dumping cart and leaving).
Reply With Quote
  #12 (permalink)  
Old 08-15-2008, 06:33 PM
WebProWorld Member
 
Join Date: Jan 2008
Posts: 25
calledminime RepRank 0
Default Re: Automated Pricing Table Generator

Thanks for the response Chiron.

Ideally I would like to have a table of sorts generated that show the pricing at various quantities based on the selections chosen from the various fields below.

I am starting to learn JS but I doubt I will be efficient or knowledgeable enough anytime soon to implement what I want from scratch...but if anyone else has a link to a predesigned template that would be great.

Again, any other suggestions appreciated.
Reply With Quote
Reply

  WebProWorld > Site Design > Graphics & Design Discussion Forum

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
SEO Services Pricing MarcThai Marketing Strategies Discussion Forum 6 03-20-2007 10:07 AM
Table Align to table sysop9999 Graphics & Design Discussion Forum 3 11-10-2005 11:00 AM
IBM changes pricing jmiller IT Discussion Forum 0 04-22-2005 03:30 PM
dynadome.com/pricing - Page with Pricing Info Needs Review ozdemir Submit Your Site For Review 1 06-29-2004 12:16 PM
Help with pricing! Roxanne Flash Discussion Forum 11 04-14-2004 02:42 PM


All times are GMT -4. The time now is 12:58 PM.



Search Engine Optimization by vBSEO 3.3.0