AShop V User's Guide Page 46

  • Download
  • Add to my manuals
  • Print
  • Page
    / 309
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 45
AShop V User Guide46
AShop Software © Copyright 2002 - 2010
<option value="708">Sml
<option value="709">Med
<option value="710">Lrg
<option value="711">X L</select>
Color: <select name="attribute68">
<option value="718">White
<option value="719">Black</select>
<input type="submit" value="Buy now">
</form>
Language Preference and Order-Link
Language preference must be set at the beginning of each shopping session. This is done by linking to
the language.php script with language and redirect parameters. Here is an example:
http://yourdomain.com/ashop/language.php?language=sp&redirect=http://www.yourdomain.com/
SpanishOrderPage.html
By running the language.php script first, it sets the language preference in a cookie and redirects to the
Spanish order page. Then when products are added to the basket, the AShop scripts will read the
language preference from the cookie and display View Cart and other pages in the same language.
When the customer checks out the language preference is saved in the database so that future receipts
and notices will be in the same language for each customer.
2.19 Multi-Product Buy Form
To add more than one product to the cart with one button, call the multiproductbuy.php script with a form
post. An example of the form code is included with the AShop V distribution package in the file named
multiproductEXAMPLE.html.
Here is the example code. Change the products value to match the actual productid numbers or each
product as listed in the admin panel under Edit Catalog. The returnurl value is where the Continue
Shopping button returns to. If not set, the Continue Shopping button will return to catalogue.php. This
URL can be set to return to the same order page or to another page of ordering options. It may be set as
a relative URL (multiproductEXAMPLE.html) or an absolute URL (http://yoursite.com/ashop/
Page view 45
1 2 ... 41 42 43 44 45 46 47 48 49 50 51 ... 308 309

Comments to this Manuals

Vikijrd 04 Jan 2024 | 13:14:20

urenrjrjkvnm

Evakut 07 Jan 2024 | 16:14:48

Med

BryanBag 08 Apr 2024 | 00:32:20

Hello! Crazy discounts, hurry up! We are Drop Dead Studio and our goal is to help companies achieve impressive sales results through automated marketing. I. We sell fresh databases for GSA Search Engine Ranker. • The databases are updated monthly through 24/7 parsing and by connecting purchased databases from other sources. • You have the option to purchase a one-time fresh database or pay for a lifetime subscription for updates. ATTENTION! 40% discount only until 04/10/2024! When ap