Contributions

Features (Category Index)
Search: 

Options - Price Update

What this does:

When you have options on an item, there was not a way to see the price until you added into the cart.

With some creative javascripting, and just a little modifications of the product_info.php page, now you can see the price get auto updated!

I think I wrote the install instructions pretty simply. If you have problems, let me know!

~Brian
brian@nuonce.net

PS.
I like PHP, not Javascript. So, I am sure there are other, cleaner ways to do what I did!

Expand All / Collapse All

Internet explorer bug fix portafixe 26 Jan 2009

In the installation file it says :

****************
Search for:

<!-- body_eof //-->

Add the following lines afterwards:
<!-- Attrib price update //-->
<script language="javascript">
<!--
showPrice(cart_quantity);
showPrice1(cart_quantity);
//-->
</script>
<!-- Attrib price update Fin //-->
****************


THIS WORK WITH OPERA, FIREFOX, IE6, but IE7 (some versions) gives "Internet Explorer Cannot Open the Internet... " error.

Simply put the code below the </body> tag not below <!-- body_eof //-->

Fix #2 portafixe 21 Dec 2008
Fix portafixe 21 Dec 2008
Javascript error eneko4 10 Apr 2008
Minor BUG ajuaristi 18 Feb 2008
Options - Price Update Vassag0 16 Dec 2007
Optimal preferences reneman 13 Dec 2007
Attrib. Price Update 1.4 Vassag0 4 Nov 2007
Attrib. Price Update 1.3 Vassag0 4 Nov 2007
Attribute price updater 1.2 (EUR and Dollar) Vassag0 26 Oct 2007
Attribute price updater (EUR) oschellas 4 Sep 2007
Attribute price updater (EUR) oschellas 16 Jul 2007
Updated for MS2 Brian N. Smith 23 Jan 2004
Options - Price Update Kurt Budiarto 23 Aug 2003
Options - Price Update Brian N. Smith 24 Jul 2003

Note: Contributions are used at own risk.