My Sellerdeck Account | Free Trial

Sellerdeck Community and Knowledge Base

Sellerdeck Community is now HTTPS by default. If your browser usually keeps you logged in, you may need to login again.
Old 09-Jul-2017, 12:46 PM
MDN's Avatar
MDN MDN is offline
Registered User
Join Date: Jun 2010
Full Name: Lee Phillips
Posts: 117
Thanks: 28
Thanked 20 Times in 14 Posts
Automatically create Sales Page with Discount Trigger

Hi All,

Not sure if this is possible, v16.03 Using filtrering pages can be created on the fly with a variable, is there a way of taking this further by automatically pulling in products if the discount goes over a certain percentage, I currently use the following code to work out the saving:

<actinic:block php="true" selectable="false">$rrp = <actinic:variable name="RRP" selectable="false" />;
				$rawprice = <actinic:variable name="ProductPriceRaw" selectable="false" />;
				// only display is we have an RRP and there's a saving to show
				if ( ($rrp != 0) && ($rrp > $rawprice) )
					$savepercent = round((($rrp - $rawprice) / $rrp) * 100);
					echo "save $savepercent%";
I think its probably a big ask but someone may have a solution, any help always greatly appreciated.
Many Thanks
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

All times are GMT. The time now is 03:30 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.