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