Is there any way to add product categories to the mobile website?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Księgowość
- Zapasy
- PoS
- Project
- MRP
To pytanie dostało ostrzeżenie
It is entirely possible, website_sale.products_categories view must be edited, by removing hidden-xs parameter:
<?xml version="1.0"?> <data inherit_id="website_sale.products" active="False" customize_show="True" name="Product Categories"> <xpath expr="//div[@id='products_grid_before']" position="inside"> <ul class="nav nav-pills nav-stacked mt16"> <li t-att-class=" '' if category else 'active' "><a t-att-href="keep('/shop',category=0)">All Products</a></li> <t t-foreach="categories" t-as="c"> <t t-call="website_sale.categories_recursive"/> </t> </ul> </xpath> <xpath expr="//div[@id='products_grid_before']" position="attributes"> <attribute name="class">col-md-3 hidden-xs</attribute> <!-- remove hidden-xs from this line --> </xpath> <xpath expr="//div[@id='products_grid']" position="attributes"> <attribute name="class">col-md-9</attribute> </xpath> </data>
Thank you for this solution. My answer was given concerning the standard modules. Of course it is always possible to achieve almost anything with modifying the code.
It would be really great if you could provide a small community module with this enhancement.
I'm working on it. On a few days I will upload my module. Take a look to disgal.es/shop from a mobile device.
Obviously not, see https://www.odoo.com/forum/help-1/question/how-could-i-get-product-categories-on-the-mobile-shop-92661
and https://www.odoo.com/forum/help-1/question/category-tree-on-mobile-devices-84620
In that case, it's possible to force desktop layout for mobile devices?
Any solution for this problem
Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj sięPowiązane posty | Odpowiedzi | Widoki | Czynność | |
---|---|---|---|---|
|
1
sty 25
|
3599 | ||
|
0
gru 16
|
3093 | ||
|
0
mar 15
|
3080 | ||
|
4
sie 25
|
2287 | ||
access and copy product description
Rozwiązane
|
|
2
mar 24
|
1747 |