IPB

Welcome Guest ( Log In )

 
Reply to this topicStart new topic
> How To Update "your Price" With Personalizations
sosADAMsos
post Aug 13 2008, 03:44 PM
Post #1





Group: Verified NS Member
Posts: 10
Joined: 12-March 08
Member No.: 786



I have personalization s on my products that add additional charges.

The problem I'm having is that when they select a personalization, the price is not being changed to reflect the additional charge.

The price is correct when it gets added into the cart, but not on the product page.

Is there a way to get that price to change correctly?

You can see what I'm talking about here:

http://rwelectrodes.com/dynafluxwatercoolerrecirculator.aspx
Go to the top of the page
 
+Quote Post
MC Team - Eddie
post Aug 13 2008, 04:33 PM
Post #2





Group: Administrators
Posts: 746
Joined: 10-August 07
From: St. Louis
Member No.: 8



QUOTE (sosADAMsos @ Aug 13 2008, 02:44 PM) *
I have personalization s on my products that add additional charges.

The problem I'm having is that when they select a personalization, the price is not being changed to reflect the additional charge.

The price is correct when it gets added into the cart, but not on the product page.

Is there a way to get that price to change correctly?

You can see what I'm talking about here:

http://rwelectrodes.com/dynafluxwatercoolerrecirculator.aspx


You will see a weld-checkers-2 product layout that I created for you. That will do what you are wanting. I replaced

CODE
<%Product.CustomerPrice%>

with...
CODE
<%Product.CustomerPriceText%>
Go to the top of the page
 
+Quote Post
chrispalmeri
post Aug 14 2008, 12:43 PM
Post #3





Group: Verified NS Member
Posts: 13
Joined: 3-March 08
Member No.: 740



I was also wondering how to do this. What Eddie suggested is acceptable but I would rather the two prices were combined and displayed as one. I tried this...

CODE
<%Product.CustomerPrice+Product.PersonalizationSurcharge%>


...but it displays with four decimal places. Can you round it off using nsScript? Or with Javascript or something?
Go to the top of the page
 
+Quote Post
sosADAMsos
post Aug 16 2008, 07:37 PM
Post #4





Group: Verified NS Member
Posts: 10
Joined: 12-March 08
Member No.: 786



QUOTE (MC Team - Eddie @ Aug 13 2008, 04:33 PM) *
You will see a weld-checkers-2 product layout that I created for you. That will do what you are wanting. I replaced

CODE
<%Product.CustomerPrice%>

with...
CODE
<%Product.CustomerPriceText%>


Thanks Eddie, I appreciate your help.

However 2 things.

1) is it not possible then to have the prices combine into one price?

2) is it possible for teh price to say $8,400.00 + $4,095.00, instead of the $8,400.00 - $4,095.00.... the - can be a little misleading.
Go to the top of the page
 
+Quote Post
MC Team - Eddie
post Aug 18 2008, 10:22 AM
Post #5





Group: Administrators
Posts: 746
Joined: 10-August 07
From: St. Louis
Member No.: 8



QUOTE (sosADAMsos @ Aug 16 2008, 06:37 PM) *
Thanks Eddie, I appreciate your help.

However 2 things.

1) is it not possible then to have the prices combine into one price?

2) is it possible for teh price to say $8,400.00 + $4,095.00, instead of the $8,400.00 - $4,095.00.... the - can be a little misleading.


Currently it is not possible to change the way this is displaying.
Go to the top of the page
 
+Quote Post
chrispalmeri
post Aug 18 2008, 05:03 PM
Post #6





Group: Verified NS Member
Posts: 13
Joined: 3-March 08
Member No.: 740



QUOTE (sosADAMsos @ Aug 13 2008, 03:44 PM) *
I have personalizations on my products that add additional charges.

The problem I'm having is that when they select a personalization, the price is not being changed to reflect the additional charge.

The price is correct when it gets added into the cart, but not on the product page.

Is there a way to get that price to change correctly?


This will display the correct price including personalization charges...

CODE
<script type="text/javascript">
<!--
var decimal = '';
var value = Math.round(<%Product.CustomerPrice+Product.PersonalizationSurcharge%>*100);
if (value/100 == Math.round(value/100)) {
decimal = '.00';
}
else if (value/10 == Math.round(value/10)) {
decimal = '0';
}
else {
decimal = '';
}
document.write('$' + value/100 + decimal);
-->
</script>
<noscript><%Product.CustomerPriceText%></noscript>


Just insert that into your product layout where it used to say

CODE
<%Product.CustomerPrice%>


It is kind of a lot of code for a little thing but it works and it makes for a better customer experience. (IMG:http://forums.networksolutions.com/style_emoticons/default/smile.gif)

P.S. Don't forget to replace the MsrpPrice and SalePrice as well if you need to.
Go to the top of the page
 
+Quote Post
daddies
post Aug 20 2008, 04:28 PM
Post #7





Group: Verified NS Member
Posts: 44
Joined: 16-August 08
Member No.: 1,974



Chris, thanks for the code. You are a lifesaver. NS said they are upgrading the system in 3 weeks so that the personalizations will add up without any special code. Again thank you so much for your code contribution.
Go to the top of the page
 
+Quote Post
houmy
post Oct 27 2008, 10:55 AM
Post #8





Group: Verified NS Member
Posts: 22
Joined: 23-October 08
Member No.: 2,834



Chris,

Thank you for the script. I am new to NS and all my sites were on MonsterCommerce before which are now getting migrated to NS. We could not do custom scripts on Monster but it seems that NS allows that. Are ASP(VB) scripts allowed as well?

Cheers,

Houmy

QUOTE (chrispalmeri @ Aug 18 2008, 06:03 PM) *
This will display the correct price including personalization charges...
Go to the top of the page
 
+Quote Post
14kzone
post Oct 27 2008, 12:59 PM
Post #9





Group: Verified NS Member
Posts: 23
Joined: 8-October 08
Member No.: 2,717



QUOTE (sosADAMsos @ Aug 13 2008, 03:44 PM) *
I have personalization s on my products that add additional charges.

The problem I'm having is that when they select a personalization, the price is not being changed to reflect the additional charge.

The price is correct when it gets added into the cart, but not on the product page.

Is there a way to get that price to change correctly?

You can see what I'm talking about here:

http://rwelectrodes.com/dynafluxwatercoolerrecirculator.aspx

I have no problem with my personalization, i did not use any coding, just basic from the personalization tab.
http://www.14kzone.com/script-engraving.aspx
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
Tags
No Tag inserted yet

1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

RSS Lo-Fi Version    Network Solutions © 2008 Time is now: 2nd December 2008 - 04:15 PM
Domain Names | Web Hosting | Web Design | Shopping Cart Software | Online Marketing | SSL Certificates