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
Shipping Choices
Author Message
Reply with quote
Post Shipping Choices 
Hello - and I a total newbie at this and I am trying to setup my shipping correctly. In the database I have selected "no" for Fedex, UPS etc - the only shipping I want toallow is USPS.

However, when I go to check out - it still gives all of those options - how can I make it so that those options won't even appear to the customer?

Thanks!
:D

View user's profile Send private message Send e-mail Visit poster's website
Reply with quote
Post  
You will need to modify the orderform that you are using. It will be located in /store/html/forms/

Search for the following:

Code:
<SELECT NAME="Ecom_ShipTo_Method">


Below that you will see some codes like this:

Code:

<!--agorascript-pre
if ("$sc_upsgroundres" =~ /yes/i) { return
q~<OPTION VALUE="UPS Ground Residential(GNDRES)">UPS Ground Residential</OPTION>~
;}
-->
<!--agorascript-pre
if ("$sc_upsgroundcomm" =~ /yes/i) { return
q~<OPTION VALUE="UPS Ground Commercial (GNDCOM)">
UPS Ground Commercial</OPTION>~;
} else {return '';}
-->
<!--agorascript-pre
if ("$sc_ups2da" =~ /yes/i) { return
q~<OPTION VALUE="UPS 2nd Day (2DA)">
UPS 2nd Day</OPTION>~;
} else {return '';}
-->
<!--agorascript-pre
if ("$sc_ups1da" =~ /yes/i) { return
q~<OPTION VALUE="UPS Next Day (1DA)">
UPS Next Day</OPTION>~;
} else {return '';}
-->
<!--agorascript-pre
if ("$sc_fedexprioiryovernight" =~ /yes/i) { return
q~<OPTION VALUE="FEDEX Priority Overnight (Express,Priority Overnight)">
FedEx Priority Overnight</OPTION>~;
}
-->
<!--agorascript-pre
if ("$sc_fedexexpress" =~ /yes/i) { return
q~<OPTION VALUE="FEDEX Express (Express,Express Saver)">
FedEx Express Saver</OPTION>~;
}
-->
<!--agorascript-pre
if ("$sc_fedexground" =~ /yes/i) { return
q~<OPTION VALUE="FEDEX Ground (Ground,Ground)">
FedEx Ground</OPTION>~;
}
-->
<!--agorascript-pre
if ("$sc_fedexhome" =~ /yes/i) { return
q~<OPTION VALUE="FEDEX Home Delivery (Home,Home)">
FedEx Home Delivery</OPTION>~;
} else {return '';}
-->


Remove all of the ones you don't want to use and reorder the ones you do want to use. Each OPTION begins with <!--agorascript-pre and each one ends with -->


If you want it to default to Priority Mail but want to leave the other options there then replace the USPS ones with the following:

Code:

<!--agorascript-pre
if ("$sc_uspsprioritymail" =~ /yes/i) { return
q~<OPTION VALUE="USPS Priority Mail (Priority)">
USPS Priority Mail</OPTION>~;
} else {return '';}
-->
<!--agorascript-pre
if ("$sc_uspsparcelpost" =~ /yes/i) { return
q~<OPTION VALUE="USPS Parcel Post (Parcel)">
USPS Parcel Post</OPTION>~;
} else {return '';}
-->
<!--agorascript-pre
if ("$sc_uspsexpressmail" =~ /yes/i) { return
q~<OPTION VALUE="USPS Express Mail (Express)">
USPS Express Mail</OPTION>~;
} else {return '';}
-->


Save and upload in usual manner.


_________________
Carol aka SouperMom
http://www.soupermom.com
View user's profile Send private message Visit poster's website
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