| QWK | QwkAdd |
Documentation for version 1.001001.
Copyright © 2004, QwkSoft. Licensed to 4TheBest eCommerce Solutions.
QwkAdd allows you to post data from your own HTML forms into Miva Merchant with the result of added multiple products to the basket at the same time. You can create as many different HTML forms as you wish using any HTML editing software that you want, and as long as the form contains the properly named fields you will be able to allow a shopper to enter quantities for as many products on the screen as they want, and submit once to add them all to the basket at the same time.
The QwkSoft Mass Add Products To Basket distribution contains 2 files: qwkadd.mvc and qwkadd.html (this documentation file). Install the *.mvc file in your domain and store as usual for Miva Merchant modules. Please refer to the documentation for your version of Miva Merchant for more information.
note: if you are using a non-compiled version of Miva Merchant you will need the non-compiled version of this module. That distribution contains *-nc.mv files in place of *.mvc files.QwkSoft Mass Add Products To Basket is a System Extension module. Store Screen
This module places 2 tabs on the
(Some tabs may not be visible at all times)
Enter licensing information here. Please note that once you have entered your license information this tab will no longer be visible.
Enter the license number that you were issued when you purchased this software.
Check this box if you have read and and agree to the EULA. You must agree to the EULA to use this software.
Every form must use an action that is the full or relative URL to Miva Merchant, a method of POST and have various fields as defined below.
| Field Name | Value | Type of Data |
| Screen | BASK | Literal, Hidden |
| Action | NEW | Literal, Hidden |
| NewAction | QWKADD | Literal, Hidden |
| QWKADD_Prod[#]:code | product code | Variable, Unique, Hidden |
| QWKADD_Prod[#]:quantity | number | Variable, User Entered, Text Input |
Note that the "#" should be replaced with a sequential number, so that the first product woudl have a 1, the second a 2, etc. The Quantity woudl normally be a text input that the user can enter the choice of quantity. The Screen variable does have to be a literal value but it can be a different screen than the BASK screen which takes the user to the basket contents. you could for example set the screen to LOGN and then set an additional hidden field called Order to a value of 1 and that would cause the shopper to be sent to the customer login screen in the checkout mode that shows the link to proceed to checkout without creating an account.
Here is fully functional example html page that can be used to add software to your ModuleStore.com basket.
The current version of QwkAdd doesn't allow for the batch adding of attributes and their options, and forms should not be created that use products that have attributes or unexpected and unpleasant results may occur. We may add the ability to proccess attributes and options in future versions depending on demand. If you have a strong desire to see the feature added, send an email to info@QwkSoft.com requesting the feature.