Can someone suggest the most effective way to trigger a message for a purchase that does not qualify for free shipping because it has not met the minimum dollar amount? Thanks so much.
Announcement
Collapse
No announcement yet.
Triggering Message for Non Qualified Order
Collapse
X
-
Triggering Message for Non Qualified Order
Tim S. Raisbeck, owner
Charlotte’s Saddlery Inc.
11623A Katy Freeway
Houston, Texas 77079
1.800.231.6530
http://www.charlottes-saddlery.com
Proudly Serving the Equine Industry for Over 35 Years.Tags: None
-
Re: Triggering Message for Non Qualified Order
Hope things are well with you! I have inserted the following on the BASK page:
Code:<mvt:if expr="l.settings:basket:total LT '75'"> <p>ANY ORDER OVER $75 QUALIFIES FOR FREE SHIPPING!</p> </mvt:if>
Tim S. Raisbeck, owner
Charlotte’s Saddlery Inc.
11623A Katy Freeway
Houston, Texas 77079
1.800.231.6530
http://www.charlottes-saddlery.com
Proudly Serving the Equine Industry for Over 35 Years.
Comment
-
Re: Triggering Message for Non Qualified Order
Originally posted by Nerd Boy Inc View PostDear Tim,
You should be able to use some SMT to do the calculations to display how much more they need to add. You could add some HTML around it to make it stand out.
I can try and post more later if you need an example.Tim S. Raisbeck, owner
Charlotte’s Saddlery Inc.
11623A Katy Freeway
Houston, Texas 77079
1.800.231.6530
http://www.charlottes-saddlery.com
Proudly Serving the Equine Industry for Over 35 Years.
Comment
-
Re: Triggering Message for Non Qualified Order
Hi Tim,
Just in case if you haven't figured out the exact code to calculate the difference between order total and free shipping amount,
You can use something like this :
Code:<mvt:if expr="l.settings:basket:total LT '75'"> <p>ANY ORDER OVER $75 QUALIFIES FOR FREE SHIPPING!</p> <p>You can avail the free shipping on your order by adding products of worth $<mvt:eval expr="75 - l.settings:basket:total" /> more to your basket.</p> </mvt:if>
Comment
-
Re: Triggering Message for Non Qualified Order
Thanks for your help! This is what I ended up going with:
Code:<mvt:item name="toolkit" param="basket|total" /> <mvt:if expr="l.settings:toolkit:baskettotal LT 75"> <mvt:item name="toolkit" param="sassign|trigger|75" /> <mvt:item name="toolkit" param="math_subtract|result|trigger|l.all_settings:toolkit:baskettotal" /> <mvt:item name="toolkit" param="currencyformat|formatted_result|result" /> <br><span style="color: #ff5911; font-size: 14px;">Order &mvt:global:formatted_result; more in products and receive free freight on your order. $75.00 is all it takes.</span> <mvt:else> <br><span style="color: #ff5911; font-size: 14px;">Congratulations! Your basket contains over $75.00, therefore you qualify for free freight today if you complete your purchase.</span> </mvt:if>
Tim S. Raisbeck, owner
Charlotte’s Saddlery Inc.
11623A Katy Freeway
Houston, Texas 77079
1.800.231.6530
http://www.charlottes-saddlery.com
Proudly Serving the Equine Industry for Over 35 Years.
Comment
-
You can put the message in a ReadyTheme content section, and use mvt:item tags to display it on various pages. Then if you ever change the amount of the minimum purchase, you only need to edit code in the content section, and the change will flow through to every page.
If you want to completely eliminate the need to write and edit template code, I have a small utility module that can be used for jobs like this. It will let you change the minimum by just typing a new number into a text box and clicking Update. If that's of interest, you can PM or email me for details.Kent Multer
Magic Metal Productions
http://TheMagicM.com
* Web developer/designer
* E-commerce and Miva
* Author, The Official Miva Web Scripting Book -- available on-line:
http://www.amazon.com/exec/obidos/IS...icmetalproducA
Comment
Comment