the main goal is to display three kinds of products in one page ,let 's say on the left which is hot sale ones , in the middle is the available ones ,one the right is the ones that not available for sell but used be popular :) ,I am thinking about how to add the three kinds of products both in the SHOP page ,also can be easily added or deleted in the admin account :}
2014/1/22 Mehmet Özgür Bayhan <[email protected]> > Why don't u try workarounds? For example Create a new page type for out of > order products ond only show them in it or u may define page with what u > want. You may also define your common attributes for order objects by > monkeypatch or mezzanine way model patch and filter with them for this. Or > maybe u may solve your issues just with workarounds over categories without > touching any code. What do u exactly want?. So scattered answers for so > scattered questions (: > > > 2014/1/22 lu zou <[email protected]> > >> make it more specifically . in shop/templates/pages/category.html the >> page simply list all the products on the page SHOP (which is the main page >> of products listing) >> the code as below: >> <div class="row product-list"> >> {% for product in products.object_list %} >> <div class="col-xs-6 col-sm-4 col-lg-3 product-thumb"> >> <a href="{{ product.get_absolute_url }}" class="thumbnail"> >> {% if product.image %} >> ……….. >> ………... >> COULD you tell me how to get the specific category of products (e.g. the >> not available products still not for sell ones ) out of the all the >> products ?. or get the available for sell products out of all the products. >> also how can I generate a new kind of products (e.g. hot sale ones which >> are very popular) ? may I generate a new kind in the admin account ,or may >> I manipulate the codes ? I can see only one category of product in the >> admin account ,don not know how to generate a new one >> >> >> On Wednesday, 22 January 2014 22:21:32 UTC+10, lu zou wrote: >>> >>> how to add more product category in cartridge, the default one is shop >>> ,I need to add more category ,for example ,some product is hot sale ,and >>> some product is previous product which is out of sale but popular >>> ,different category will display on the different places of the web page >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "Mezzanine Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> >> For more options, visit https://groups.google.com/groups/opt_out. >> > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Mezzanine Users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/mezzanine-users/tT0JcETOs94/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- BEIJING UNIVERSITY OF AERONAUTICS AND ASTRONAUTICS msn:[email protected] ZouLu -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
