Imperial CMS Mall features advanced usage

Source: Internet
Author: User

First, frequently asked questions
1, why the custom model added to the shopping cart tip "Non-mall table information"?
A: The model to use the function of the mall, first to: Backstage > Mall > Mall parameter settings: "Specify the use of the data table of the sausage can" check your custom model table, you can use.

2, do not want to display the background of the "Mall" menu, how to do?
Answer: Background > System > System parameter Settings > Model settings: "Close Background Menu" Item Tick "mall".

Second, the use of skills
1, the product added to the shopping cart link address:

[!--news.url--]e/shopsys/doaction.php?enews=addbuycar&classid=[!--classid--]&id=[!--id--]

2, the product added to the shopping cart when you specify the number of purchases, you can increase the "pn= quantity" variable. For example, submit using the form Get method:

<form action= "[!--news.url--]e/shopsys/doaction.php" name= "Shopform"  method= "get" target= "_blank" > Select Purchase Quantity: <select name= "pn" id= "pn" ><option value=1>1</option><option value=2>2</option ><option value=3>3</option><option value=4>4</option><option value=5>5</ Option><option value=6>6</option><option value=7>7</option><option value=8>8< /option><option Value=9>9</option><option Value=10>10</option></select> < Input type= "hidden" name= "enews" value= "Addbuycar" ><input type= "hidden" name= "ClassID" value= "[!--classid--]" ><input type= "hidden" name= "id" value= "[!--id--]" ><input type= "Submit" name= "Submit" value= "Add to Cart" > </form>

3. Add additional properties when adding items to your shopping cart, such as: Use the size color and other attributes. The Addatt[]= property variable can be added. For example, submit using the form Get method:

<form action= "[!--news.url--]e/shopsys/doaction.php" Name= "Shopform" Method= "Get" target= "_blank" ><select name= "addatt[" "><option value=" ">-Please select Color </option>< Option value= "BLACK" > Black </option><option value= "white" > White </option><option value= "Blue" > Blue </ Option></select> <input type= "hidden" name= "enews" value= "Addbuycar" ><input type= "hidden" Name= "ClassID" value= "[!--classid--]" ><input type= "hidden" name= "id" value= "[!--id--]" ><input type= " Submit "Name=" submit "value=" added to the shopping cart "></FORM> 

Additional instructions: To use the attached properties feature, go to Background > Marketplace > Marketplace parameter settings: Turn on "shopping cart support attached properties".

4, commodity prices are one, how to give discounts to members of different member groups?
A: You can use the "coupon code" in the background to increase the coupon code when "available membership group" tick the member group to be discounted. Then this membership group will be able to use this coupon code to get discounted rates.

5, how to achieve different product attributes different prices, what skills?
A: It is recommended to use multiple product information to achieve different prices. The content page displays related information and can add an association ID field, such as "Shoplinkid", so that the content template can invoke information about the associated ID in this field:
tag Append SQL condition setting: "ID in ($navinfor [Shoplinkid])"

6, how do I sort the display list by different fields?
A: You can link the sorting of other fields to a binding item, and you can see the tutorial: http://www.phome.net/doc/manual/editor/html/fieldand.html
Span style= "color:red;" > Specify the sort field:
Sort field Variable name: order by; Ascending order field variable: Myorder
System sort field: Newstime,id,onclick,totaldown,plnum
Custom sort field: The field in the system model where fields are set to sort items
myorder=0 is sorted in descending order (default); Myorder=1 is sorted in ascending order
Example: The following is a sort of descending order by information click (onclick)
/e/action/ Listinfo.php?mid=1&tempid=1&orderby=onclick

7, how do I search for a display item by a variety of fields?
A: With the combination item, you can see Tutorial: http://www.phome.net/doc/manual/editor/html/fieldand.html
Binding Item List Properties filter display plug-ins: http ://bbs.phome.net/showthread-31-201928-0.html 

Imperial CMS Marketplace features advanced use

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.