Trade Customer Pricing within Greybox Upsell Popup

Adding upsell items to a product.
Post Reply
leej
Posts: 46
Joined: Thu May 17, 2007 10:03 am
Location: Otley, Leeds
Contact:

Trade Customer Pricing within Greybox Upsell Popup

Post by leej »

Hi Norman,
We have recently relaunched a site for a client of which the development site can be viewed at http://dev2.centurius.co.uk

The client has noticed that when a customer logs into their account when they get to the product page they can see the retail and trade price which is fine. The best product to test is under Golf Buggies and Titan Lithium.

I have set up a test account for you to look at with both un & pw being test.

When they then click on any of the related upsell products within the right hand column the pop up displays the default retail price only. I have check the price layouts and all use the same price template.

When you add the upsell product to the cart then the correct trade price is added.

Have I overlooked anything? Does anything in addition need to be added the upsell template in order for the trade price to appear?

Any help is greatly appreciated.
Regards.
Lee.
norman
Site Admin
Posts: 1252
Joined: Sat Feb 07, 2004 9:55 pm

Re: Trade Customer Pricing within Greybox Upsell Popup

Post by norman »

Hmmm... Looks like something that worked in earlier SD versions needs tweaking for your SD 2013. Luckily it's a 2 character tweak.

Go to Design / Library / Layouts / Upsell Items / Upsell Setup Code.
Around line 36 is:

Code: Select all

var inb2b = '<actinic:NOTINB2B></actinic:NOTINB2B>' == '';
Change it to:

Code: Select all

var inb2b = '<Actinic:NOTINB2B></Actinic:NOTINB2B>' == '';
I.e. Capitalise the 2 occurrences of actinic.

Please let me know if that helps so I can update the add-on if so.
Norman
leej
Posts: 46
Joined: Thu May 17, 2007 10:03 am
Location: Otley, Leeds
Contact:

Re: Trade Customer Pricing within Greybox Upsell Popup

Post by leej »

Hi Norman,
That did the trick! Many thanks for your help.

Regards.
Lee.
norman
Site Admin
Posts: 1252
Joined: Sat Feb 07, 2004 9:55 pm

Re: Trade Customer Pricing within Greybox Upsell Popup

Post by norman »

Super. I'll incorporate that tweak into the add-on. I'll send you an updated copy by email in case you need to re-install.
Norman
Post Reply