View Full Version : Need help with shopping cart script PLEASE!!!

04-07-2010, 07:14 AM
I have been using fat free shopping cart because its easy application to use for beginners. The only problem is, i would like to change the script to add a flat rate shipping fee to the whole order. I will be leaving shipping 1 and 2 at zero. The script is below, can you please take a look and see if there is anyway to add flat rate shipping cost to whole order, rather on every single item. I know there is a way to do this, but don't know where to input it. Would i do it in this line? "<!-- any custom info you want to pass for the whole order -->". I want to set it up where it just adds $10 for shipping on the whole order no matter how many items. Also, for the tax input it add tax as a dollar amount. Is there a way to add tax from a percentage. For example, if i wanted to add 13% tax on each item, how would i input it? Any help or suggestions would be muchly appreciated. Thanks in advance.

<!-- shipping cost -->
<input type="hidden" name="shipping" value="0">
<!-- shipping cost of each additional unit -->
<input type="hidden" name="shipping2" value="0">
<!--handling cost -->
<input type="hidden" name="handling" value="0">
<!-- tax (flat amount, NOT percentage)-->
<input type="hidden" name="tax" value="0.50"/>
<!-- following options are applicable to whole cart-->
<!-- you thank you page -->
<input type="hidden" name="return_url" value="http://www.e-junkie.com/"/ (http://www.e-junkie.com/%22/)>
<!-- any custom info you want to pass for the whole order -->
<input type="hidden" name="custom" value="anything"/>
<!-- currency (USD for Google Checkout USA, GBP for Google Checkout UK. For PayPal: any currency that PayPal supports -->
<input type="hidden" name="currency_code" value="USD"/>
<input type="image" src="https://www.e-junkie.com/ej/ej_add_to_cart.gif (https://www.e-junkie.com/ej/ej_add_to_cart.gif)" border="0" onClick="javascript:return EJEJC_lc(this.parentNode);">

04-07-2010, 07:29 AM
it looks like it might be but it depends on the cart script. try it and see with some example orders

04-07-2010, 02:44 PM
My guess is that whatever code you posted, it's not where this is set.

04-08-2010, 01:23 AM
i would agree but its a strange hidden firld and im not sure what it means by adding custom info to its cart.
you have to look at the script . If this cart has asupport forum they might have knowledge where this is . in other carts this can be done through admin section i think