This is an old revision of the document!


type:
snippet
name:
Setting a single flat rate shipping amount no matter which categories are included
reference:
http://forum.foxycart.com/comments.php?DiscussionID=4389&page=1

Setting a single flat rate shipping amount no matter which categories are included

So to setup flat rate shipping and get around the issue with it using the flat rate from both categories, pasting this just before the closing </head> tag in your template should do the trick:

<script type="text/javascript" charset="utf-8">
jQuery(document).ready(function() {
FC.checkout.config.orderFlatRateShipping = 9;
FC.checkout.updateShipping(-1);
});
</script>
 
<wrap hi> This will make the shipping charges to be 9 no matter what is added to the cart. <wrap>

Site Tools