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
Change "State" to "Country" Part II
Author Message
Reply with quote
Post Change "State" to "Country" Part II 
I know there's another string of posts on a similar topic, but I'm still confused on this one.

1) What file do I edit to remove all shipping options from the customer's drop down menu except for USPS?

2) What file do I edit to replace the two-letter state abbreviations the customer is shown with region names (like "USA", "Asia", "Europe", etc)

3) Also, did we ever figure out exactly where/when to sub in "Ecom_ShipTo_Postal_CountryCode" in order to get these types of changes to work?

My goal is to allow users to select what region they live in, and then shipping costs will be based on that. Any help I can get will be greatly appreciated.

Jason.

View user's profile Send private message Visit poster's website
Reply with quote
Post Re: Change "State" to "Country" Part II 
Hi Jason,
moviemil wrote:
I know there's another string of posts on a similar topic, but I'm still confused on this one.

1) What file do I edit to remove all shipping options from the customer's drop down menu except for USPS?


That would be in the Payment Gateway area of the manager. This may be different based on which gateway you are using. Which gateway are you using?

moviemil wrote:

2) What file do I edit to replace the two-letter state abbreviations the customer is shown with region names (like "USA", "Asia", "Europe", etc)


This would be edited in the <gateway>orderform.html file found in the 'html/forms' directory of the store.

moviemil wrote:

3) Also, did we ever figure out exactly where/when to sub in "Ecom_ShipTo_Postal_CountryCode" in order to get these types of changes to work?

My goal is to allow users to select what region they live in, and then shipping costs will be based on that. Any help I can get will be greatly appreciated.

Jason.

What types of changes are you talking about in conjunction with the "Ecom_ShipTo_Postal_CountryCode" field??


_________________
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  
hell-o
becareful how you do this if you need to charge taxes. you must define the state for tax purposes. you could rename the entry form STATE to STATE/COUNTRY. however, depending on the gateway you maybe in conflict with the merchant service's form definitions which you can't change.
which gateway are you using?
regards,
dan

Reply with quote
Post Responding to both Dan and Scottcrew... 
Dan wrote:
hell-o
becareful how you do this if you need to charge taxes. you must define the state for tax purposes. you could rename the entry form STATE to STATE/COUNTRY. however, depending on the gateway you maybe in conflict with the merchant service's form definitions which you can't change.
which gateway are you using?
regards,
dan


I'm using the AgoraPay gateway. I would only be charging tax for CA residents, so what if I leave "CA" in the list? My ultimate goal here is to charge different shipping rates for someone ordering from China as opposed to someone ordering from San Diego (I live in LA). When the customer selects that they live in Europe or Asia, I want the program to charge them the according shipping cost.

FROM SCOTTCREW>>What types of changes are you talking about in >>conjunction with the "Ecom_ShipTo_Postal_CountryCode" field??

I thought someone else had advised making changes with these fields on another post but maybe I had been mistaken. What exactly the changes are I'm not sure.

Thanks for the help so far,
Jason.

View user's profile Send private message Visit poster's website
Reply with quote
Post  
There is an international shipping workaround based on country that is available to lifetime pro members.

You do not want to change the state field, you will want to keep it.
To charge for someone in another country, you need the country field and the pro workaround, depending on how you want to charge for shipping to another country.

The USPS SBW module only works with shipments within the US.

HTH!


_________________
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 Custom Shipping Logic 
In the Custom Shipping Logic space of the Shipping Settings page, I have it worked out so the first item people order charges them $3, and each additional item charges $1. Is there anyway to add "if/then" controls so that it will take the value of the state/province variable from the AgoraPay-orderform.html (where people select what region they live in) and charge the customer a specific shipping cost that way?


Jason.

View user's profile Send private message Visit poster's website
Reply with quote
Post  
Jason,
Yes, there is. If you are a pro member, you can access shipping options like this in the Pro Forum.

HTH!


_________________
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  
scottcrew wrote:
Jason,
Yes, there is. If you are a pro member, you can access shipping options like this in the Pro Forum.

HTH!


Pro Member?!? Cripes! Crying or Very sad

Guess I'll be signing up then.

Jason.

View user's profile Send private message Visit poster's website
Reply with quote
Post  
hell-o
LOL. it aint that bad. i know all the stuff people have to sign up for and pay for on the net and i personally feel the same way about resisting to have to sign up and pay for "another one".
lifetime membership is cheap. a real time and headache saver. when you think of your time trying to do the hacks already done and the ideas and stuff available to to display and control your products on the web in a more customized manner. if you had someone script some of the hacks avaliable in the liftime membership program it would cost you 10 times the membership fee.
i'm so broke i can't pay attention but i found a way years ago to join and i'm happy i did.
so feel good about your membership. though everyone on the net seems to want money or membership there are those that are a necessity and will save you time and money in the long run. this is one of those.
regards,
dan

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