Hello,
I noticed that when you start checkout /os000001.pl?ACTION=Start and submit the 'Shipping Destination' i.e country. If you exit the checkout and 'view cart' the cart displays the shipping costs.
So what I want to do is create a form that posts the country feild 'id="LocationDeliveryCountry" name="LocationDeliveryCountry2' to /os000001.pl and have it bounce back to a defined page - storing the country and from there on in showing shipping on the 'view cart' page.
I tried this
<FORM METHOD=POST ACTION="/cgi-bin/os000001.pl" >
<input type="hidden" name="RANDOM" value="0.123453090270446" />
<INPUT TYPE=HIDDEN NAME=REFPAGE VALUE="../shop/">
<SELECT ID="LocationDeliveryCountry" NAME="LocationDeliveryCountry2">
<OPTION VALUE="">Select country
<OPTION SELECTED VALUE="UK">United Kingdom
</SELECT>
<input type=SUBMIT name=ACTION_UPDATE value="ACTION_UPDATE">
</FORM>
But no luck.. any ideas as to how I can make it work. I need postage prices on the 'view cart' , later stages of checkout is too late imo.
There must be a way to get the country registered with the session, I looked at cookie data but I dont think it stores it there - so posting it seems viable.
M.
I noticed that when you start checkout /os000001.pl?ACTION=Start and submit the 'Shipping Destination' i.e country. If you exit the checkout and 'view cart' the cart displays the shipping costs.
So what I want to do is create a form that posts the country feild 'id="LocationDeliveryCountry" name="LocationDeliveryCountry2' to /os000001.pl and have it bounce back to a defined page - storing the country and from there on in showing shipping on the 'view cart' page.
I tried this
<FORM METHOD=POST ACTION="/cgi-bin/os000001.pl" >
<input type="hidden" name="RANDOM" value="0.123453090270446" />
<INPUT TYPE=HIDDEN NAME=REFPAGE VALUE="../shop/">
<SELECT ID="LocationDeliveryCountry" NAME="LocationDeliveryCountry2">
<OPTION VALUE="">Select country
<OPTION SELECTED VALUE="UK">United Kingdom
</SELECT>
<input type=SUBMIT name=ACTION_UPDATE value="ACTION_UPDATE">
</FORM>
But no luck.. any ideas as to how I can make it work. I need postage prices on the 'view cart' , later stages of checkout is too late imo.
There must be a way to get the country registered with the session, I looked at cookie data but I dont think it stores it there - so posting it seems viable.
M.
Comment