NorPrice with Fancybox V3.

Automatic multi currency display on entire catalog.

Run your catalog in a main currency (or a main and alternate) with the customer having the option to turn on an additional currency throughout the Catalog, Cart and Checkout.
Post Reply
norman
Site Admin
Posts: 1252
Joined: Sat Feb 07, 2004 9:55 pm

NorPrice with Fancybox V3.

Post by norman »

NorPrice is bundled with the freeware Fancybox V1.3.4. If you want to use it with with Fancybox V3 do the following:

Load Fancybox before the NorPrice Support line.

Make the following change to norpricesupport.js:
Look for the line( about line 31):

Code: Select all

	$.fancybox({type:'iframe', href:link, width:width, height:height, onClosed:norpricereload});
Replace it with:

Code: Select all

	$.fancybox.open({type:'iframe', src:link, iframe:{css:{width:width + 'px', height:height + 'px'}}, afterClose:norpricereload});
Norman
Post Reply