Looking for a bit of help with Exp:resso Store's USPS shipping plugin. Either I'm not looking at the correct page in the documentation, or it just isn't fully documented. Being new to this, it makes no sense to me. Your help is appreciated. :)
I WAS using the native, built in shipping feature that comes with the Store module itself. I had 2 shipping rules in place, but as my husband pointed out, if they only order one, tiny thing, it's unfair to charge the flat rate postage. Indeed.
Thinking it would help, I purchased the USPS shipping plugin. I have it installed, and have my USPS API username in place. I have it set to Variable Container Size, International Mailtype set to ALL, even though I do not ship outside of the U.S, and have "Priority" checked under "Service - US Only". (As a sidenote, regardless of unchecking all of the international options and saving my preferences, I come back only to find them re-checked.)
I implemented this code on my FIRST checkout page:
<td>Shipping</td>
<td colspan="2">
<select name="shipping_method">
<option value="">Select a shipping method...</option>
{shipping_methods}
<option value="{method_id}">{method_title} ({method_price})</option>
{/shipping_methods}
</select>
{if error:shipping_method}
<p class="TCBHelpBlock">
{error:shipping_method}</p>
{/if}
</td>
<td style="text-align:right">
{order_shipping}
</td>
What I'm aiming for is shipping to be calculated based on the customer's address, which I realize isn't input until the 2nd checkout page; however, what's happening on the first page is one of 2 things: If I already have shipping rules in place in the native shipping feature, it automatically puts the shipping amount next to the dropdown, regardless of whether or not it's selected, or B) if I delete the native shipping rules I created, I'm left with a select field with no options.
I presumed that the USPS Shipping plugin would have automatically placed "Priority Mail" in the dropdown list, but it isn't.
What am I doing wrong? Is there a fully detailed example code somewhere that I can peek?
Sorry for the length; just trying to give all the details...
Thanks!