Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

A case study of Imperial CMS 7.0Mall system

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

A case study of Imperial CMS 7.0Mall system? This problem may be often seen in our daily study or work. I hope you can gain a lot from this question. The following is the reference content that the editor brings to you, let's take a look at it!

I. FAQ

1. Why does the custom model add the shopping cart prompt "non-mall table information"?

Answer: if you want to use the function of the mall, you must first go to: background > Mall > Mall parameter settings: "specify the data table that uses the merchant's intestinal energy" check your custom model table before you can use it.

2. If you don't want to display the "Mall" menu in the background, how to do it?

Answer: background > system > system Parameter Settings > Model Settings: "close background menu" check "Mall".

Second, use skills

1. The link address for adding goods to shopping cart is:

The code is as follows:

[!-- news.url--] eActionSysUnix doaction.phptomenewsencoding add Buycarding classidy = [!-- classid--] & id= [!-- id--]

2. Specify the purchase quantity when the goods are added to the shopping cart, and the "pn= quantity" variable can be increased. For example, use the form GET to submit:

The code is as follows:

Select purchase quantity: 12345678910

< input type="hidden" name="id" value="[!--id--]">

< input type="submit" name="submit" value="加入购物车">

3. Add additional attributes when the goods are added to the shopping cart, such as using attributes such as size and color. The variable "addatt [] = attribute" can be added. For example, use the form GET to submit:

The code is as follows:

-Please choose the color black, white, blue.

< input type="hidden" name="id" value="[!--id--]">

< input type="submit" name="submit" value="加入购物车">

Additional note: to use the additional attributes function, you need to go to the background > Mall > Mall parameter settings: turn on "Shopping cart support additional attributes".

4. commodity prices are all the same, how to give discounts to members of different member groups?

A: you can use the "discount code" in the background to check the member group that you want to discount when adding the "available member group". Then this member group can use this discount code to get a discount.

5. How to realize different commodity attributes and different prices? what skills do you have?

A: it is recommended to add multiple commodity information to achieve different prices. The content page displays relevant information. You can add an associated ID field, such as "shoplinkid", so that the information of the associated ID can be called in the content template through this field:

Tag with sql condition setting: "id in ($navin for [shoplinkid])"

6. How to sort the display list by different fields?

Answer: you can link the sorting of other fields to the combined item.

Specify the sort field:

Sort field variable name: orderby; ascending or descending field variable: myorder

System sort field: newstime,id,onclick,totaldown,plnum

Custom sort field: a field in the system model that sets the field to the sort item

Myorder=0 is in descending order (default); myorder=1 is in ascending order.

Example: sort in descending order by number of information clicks (onclick)

The code is as follows:

/ e/action/ListInfo.php?mid=1&tempid=1&orderby=onclick Thank you for your reading! After reading the above, do you have a general understanding of the case study of Imperial CMS 7.0Mall system? I hope the content of the article will be helpful to all of you. If you want to know more about the relevant articles, you are welcome to follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report