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
SBW Realtime AND Custom Shipping Logic
Author Message
Reply with quote
Post SBW Realtime AND Custom Shipping Logic 
Can we use both?

My client ships using USPS and UPS, but when a quantity of 6 or more are ordered they offer free UPS ground shipping.

Need to code this option in with an option to choose faster shipping at the customers cost. I've tried a few things and nothing working. :0(.

Thanks

Lori

View user's profile Send private message
Reply with quote
Post  
I was able to add a free ship option on the cart, BUT, is there a way to have it not show up or be active unless the requirements are met...the way it is now you can choose it for any size order and it will apply free shipping. Need it to not show or work unless the order is 6 or more pieces.

Lori

View user's profile Send private message
Reply with quote
Post  
Lori,
You will need to set it up in the custom shipping logic.
It doesn't need to be dependant on a shipping method chosen.
What version of the cart are you using?


_________________
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  
The latest version

View user's profile Send private message
Reply with quote
Post  
Set it up in the custom shipping logic and set it to run "before".


_________________
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  
Thanks Bonnie, this is what I have set up:

Use Custom: yes
When: before
Measured by weight: no


Code:
@sc_shipping_logic = ( "|384.00-|||0");
#
$shipping_price = &calculate_shipping($temp_total,
$total_quantity, $total_measured_quantity);

How many Custom Methods: 1
Method Name: Free Shipping Name for Form Lists: Free UPS Ground (6 or more sets)

And I added an option on the order form.....maybe that is where my mistake is???

Lori

View user's profile Send private message
Reply with quote
Post  
ok scratch all that. Here is what the client wants:

This is a one item shopping cart

To use real time USPS priority mail when ordering 1 piece
To use real time UPS when ordering 2-5 pieces, offering UPS Ground , 2nd Day and Next Day
To offer FREE UPS ground when ordering 6 or more pieces but also offer real time 2nd Day or Next Day at customers cost

Have these options only show when applicable, IE
if one ordered, only option real time priority (guess this could be custom since all would be the same cost)
if 2-5 ordered UPS only, Ground, 2nd or Next Day realtime costs
if 6 or more ordered only UPS Ground with 0.00 cost or 2nd Day and Next Day with realtime costs

I'm going to work on this some more to see if I can get it to work, butint he meantime, any help is appreciated.

Lori

View user's profile Send private message
Reply with quote
Post  
Lori,
I have never seen that done and don't know where to start to try and make that happen.

Sorry.


_________________
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  
Thanks Bonnie, I'm gonna tell him it just has to be the way it has to be LOL. But I've messed with it so much now that I don't know what I have in there now.

He wants the shipping methods to be driven by the number of products in the cart, and I am sure that can not be done, unless I can code to auto add shipping based on this:

1 item=USPS Priority $6.50
2-5 items=SBW UPS Ground, UPS 2nd DAY or UPS NEXT DAY
6+ items=$0.00 , SBW UPS 2nd DAY or UPS NEXT DAY

I just signed up to be a pro member so I can maybe pick their brains over there.

Another idea: If I actually make 3 product options or 3 different products:

Ordering 1 and add shipping price in product code
Ordering 2-5
Ordering 6 or more

Lori

Have a great day!

View user's profile Send private message
Reply with quote
Post  
you might be able to do that with agorascript in step one. a conditional statement based on qty displays particular options.
d

Reply with quote
Post  
Really? How?

I am really just a designer trying to muddle her way thru programming LOL. I can do very basic agora programming but this is WAY over my head.

Thank you!
Lori

View user's profile Send private message
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