close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Free Shipping

Thread began 4/27/2009 9:27 am by asnw0764437428 | Last modified 6/05/2014 11:51 am by Jason Byrnes | 1495 views | 3 replies |

asnw0764437428

Free Shipping

I have done some shipping calculations based on total weights etc. What I wish to do now is indicate within the shopping cart display that when the total item weights within the cart exceed a certain weight, the shipping is free.

I need to indicate the words 'Free Shipping' on the view cart page and not just have it disappear if the calculation rules exceed the maximum weights for charges.

How would I go about this?

Many thanks.

Sign in to reply to this post

Ray BorduinWebAssist

Add a discount rule that is the same amount as the shipping that triggers when the total weight exceeds that value, and call the discount "free shipping"

Sign in to reply to this post

Nathon Jones Web Design

Some of our shipping rules have a flat rate of "0" for certain cart content criteria so the discount rule, in order to display "Free Shipping", will also be a "0" value which means that, like the Shipping, it's hidden from display on the page. What's the best way around this?

Also, I've replicated the shipping rules criteria as discount rules with titles such as "FREE STANDARD SHIPPING" etc, but these titles aren't displayed on the cart page.

We corrected this for the Shipping Rules, with Jason's help, by changing the shipping display section to be...

<?php
//WA eCart Merchandizing Show Start
//ecart="LEDCart"
if ($LEDCart->GetShipping() > 0) {
?>
<tr>
<td class="eC_SummaryLabel">Packaging &amp; Delivery</td>
<td>&nbsp;</td>
</tr>
<?php
if (!$LEDCart->Rules_EOF("Shipping")) {
while (!$LEDCart->Rules_EOF("Shipping")) {
if ($LEDCart->RuleLooperValue("Shipping") > 0) {
?>
<tr valign="top">
<td class="eC_IndividualCharge">&nbsp;<?php echo $LEDCart->RuleLooperName("Shipping"); ?><br>
<span class="sm">&nbsp; You can change your delivery preferences at checkout.</span></td>
<td id="LEDCart_JSON_Display_Shipping_<?php echo($LEDCart->ShippingDisplayIndex); ?>"><?php echo WA_eCart_DisplayMoney($LEDCart, $LEDCart->RuleLooperValue("Shipping")); ?></td>
</tr>
<?php
}
$LEDCart->Rules_MoveNext("Shipping");
}
$LEDCart->Rules_MoveFirst("Shipping");
}
?>
<?php
//WA eCart Merchandizing Show End
//ecart="LEDCart"
}
?>

...is there a similar fix that will allow display of the discount rule title?

Thank you
NJ

Sign in to reply to this post

Jason ByrnesWebAssist

you can show a specific 0 dollar rule title, but you could show a free shipping message if the shipping total is = to 0:

<?php if ($LEDCart->GetShipping() == 0) { ?>
Free Shipping
<?php } ?>

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...