close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

How do PS3 Advanced Options update Price?

Thread began 10/29/2010 1:45 pm by robert222776 | Last modified 11/01/2010 8:13 am by Jason Byrnes | 1334 views | 5 replies |

robert222776

How do PS3 Advanced Options update Price?

I am not using the original code for shipping. Instead, I have modified PS3 to successfully include zoned (two shipping zones) shipping costs as a function of zip code. The shipping costs display fine for all products without options after a zip code is entered, and for products with their default options showing. I would like the shipping costs to update (like the price does) on the Products Display page when a non-default option is selected. Right now they do not change from the default values. Note too that the shipping costs that I have displayed in the cart are correct, regardless of options selected, so that part is working fine.

How does Price update as a function of option on the Products Detail page. I would like to duplicate that functionality for my shipping costs. At this point in the buying process, both zone costs are being displayed since the zip code is entered after an item is added to the cart.

Thanks,
Robert

Sign in to reply to this post

Jason ByrnesWebAssist

there is javascript on the details page that executes on the on change event of the select list.


this passes the info to the Products_Detail_Lookup.php page that looks up the new product and returns it back into the javascript tpo update the details displayed on the page.

Sign in to reply to this post

robert222776

Thanks Jason.

Hoping for a easy solution I tried this on the Product Detail page:

Given this:

var thePriceField = "$"+ getFromRSDump(theRet,"ProductPrice");

I added the following:

var theZone1Field = "$"+ getFromRSDump(theRet,"ProdShipCostZone1");
var theZone2Field = "$"+ getFromRSDump(theRet,"ProdShipCostZone2");

and given this:

document.getElementById("ProductPrice").innerHTML = thePriceField;

I added:

document.getElementById("ProdShipCostZone1").innerHTML = theZone1Field;
document.getElementById("ProdShipCostZone2").innerHTML = theZone2Field;

The result is the the page locks up on "checking availability"

I did not add anything to the the Product Detail Info page since there is no specific reference to price on that page.

Am I on the right track? What is missing?

Thanks,
Robert

Sign in to reply to this post

Jason ByrnesWebAssist

var thePriceField = "$"+ getFromRSDump(theRet,"ProductPrice");

is referencing the ProductPrice column in the recordset that is created on the detail lookup page.



I dont believe you are on the right track for what you are trying to accomplish, and we will not able to offer support for it.

Sign in to reply to this post

robert222776

You do offer Premier Ticket Support for something like this though, correct?

Sign in to reply to this post

Jason ByrnesWebAssist

Yes, we should be able to help you with this in a premiere ticket.


Contact the sales department to sign up for a premier appointment.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...