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
Pick up shipping option
Author Message
Reply with quote
Post Pick up shipping option 
I am trying to set up a shipping option that will allow customers to pick up theier order and remove the shipping cost. Can this be done? Thanks.

View user's profile Send private message
Reply with quote
Post  
yes, use custom shipping logic. define a shipping option in your order forms and then have the shipping logic grab that shipping name and set it to zero

ME


_________________
Vote Mister Ed for Prez 2012, for a REAL change.

Need Low Cost Startup Option? Try NiftyPay's Pay to Play
http://www.NiftyPay.com
View user's profile Send private message Visit poster's website
Reply with quote
Post  
Can I have the code for this? I'm new to this shopping cart and I don't know how to do that yet. Thanks.

View user's profile Send private message
Reply with quote
Post I did it! 
In the offline_orderform.html I added this to the bottom of the shipping selections:

<OPTION VALUE="Pickup">Pickup at Store</OPTION>
at the end of the list of shipping options, right before the:
</SELECT>

Then in the shipping settings of the manager, I turned on the custom shipping logic and added this code:

if ($ship_method eq "Pickup") { # set a default value
$temp_total="0"
$sc_sales_tax_state="TX"
}

I had to add the sales tax variable, because since the ship-to address was blank tax wasn't added to the order.

I don't know if this is the best way to do it, and this is my first shopping cart and my first real attempt at web development. But it seems to work.

Jean Norton
(Former computer consultant that now owns a retail store
and doesn't want to hire a computer consultant).

It's live at www.hometown-threads.com/cart/agora.cgi

View user's profile Send private message Visit poster's website
Reply with quote
Post  
Thank you! I have been looking for this code for almost a week now.

View user's profile Send private message
Reply with quote
Post  
I have installed the code and it works great!

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