The Official Website of AgoraCart and Agora.cgi
AgoraCart.com Demos Download AgoraCart User Manuals & Wiki Gold Members Forum Go Gold Now! Gold Version Memberships

AgoraCart.com

About
Features
Download
Payment Gateways
Send a Donation
Founders Club
BLOG: News & Updates

Showcases & Demos

AgoraCart Demos
Shop Live Stores

Downloads & Add-ons

Gold Version Downloads
DBwizz Database Mgr.
AgoraCart.com Store

Help & Support

User Manuals
Gold Version Users Forum
Gold Version Chat
Tech Support
Certified Agora Pros
Certified Designers
Hire a Freelancer

Gold Version Members

Member Benefits
Join Today!
Gold Members Home
Gold Version Users Forum
Gold Version Chat Rooms
Gold Version Downloads

For Store Owners

Merchant Accounts
Cool Resources
Advertise Here
"Powered by" Logos
Web Hosting Search

Misc.

Contact Us
MEET's Talking Guide
The Ancient Greek Agora






AgoraCart Free User Forums

This is the official FAQ and Cool Tips guide For the AgoraCart shopping Cart software


Official Sponsors of the AgoraCart Project:

       


RegisterSearchFAQLog in
Reply to topic Page 1 of 1
flat rate shipping with adder.
Author Message
Reply with quote
Post flat rate shipping with adder. 
I use flat rate shipping most of the time. $4.95 plus $1 for each additional item.
most of the time this works wonderfully for me. However some things have changed with a few of my products.

This is my current shipping logic.
$shipping_price = 4.95 + (($total_quantity - 1) * 1);

works great.

however I have a few items that are just enough heavier that they don't quite fit my current logic so I need to adjust it for just those few items.

I know I can pull the shipping cost from the database by using $shipping_price = $shipping total but I can't figure out how to keep it from double up if more then one item is bought and still get the $1 adder per item in there. Any ideas?

I've tried using $shipping_price = $shipping_price + (($total_quantity - 1) * 1); but that doesn't work.
Any ideas?
Thanks in advance.

View user's profile Send private message Send e-mail
Reply with quote
Post  
There are some custom shipping logic examples in the Pro Forum that do some calculations based on product IDs...


_________________
God Bless!
Bonnie - AgoraCart Moderator

Get a Gold Membership
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger ICQ Number
Reply with quote
Post shipping logic 
That is pretty much the answer I was expecting.
Thanks

View user's profile Send private message Send e-mail
Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum