[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] Simple shipping?
****** message to minivend-users from "B.J. Bezemer" <bas.bezemer@wxs.nl> ******
Hello Ron
>
> Over the weekend I worked with the shipping code and have not had much
luck
> getting it to work for our situation. Our client would like their
shipping
> optioons to be a flat rate regardless of the # of products in the basket.
> They would like a dropdown of available shipping options (the same
> regardless of shipping destination, although later they may only show
> International Options if an International country is picked). The
available
> options would come from shipping.asc. We've modified our simple demo to
> blend in with the rest of the site. In checkout.html there is a spot to
set
> only_downloadable to 0 which then shows the Shipping dropdown on the page.
> What I cannot figure out is why this dropdown is blank even though the
> shipping.asc file exists and has the default mvend shipping modes. Any
> ideas would be appreciated. Thanks!
In the simple demo the drop down menu is formed by the shipping options
available in the specific country as set in the "shipmodes"-field in
country.asc.
In checkout page this used as:
<SELECT MV=loop
MV.ARG="[data
table=country
key='[default country US]'
sf=selector
col=shipmodes
]"
MV.OPTION="mv_shipmode"
onChange="this.form.submit()"
NAME="mv_shipmode">
<OPTION VALUE="[loop-code]"> [shipping-desc [loop-code]] [shipping
[loop-code]]
</SELECT>
Hope it helps you further.
Regards,
Bas
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list