I am working on ECommerce clothing website, I want to create different shopping pages for men, women and kids having different products. How this can be achieved with odoo v_16?
لقد تم الإبلاغ عن هذا السؤال
Hello @Badan Singh Pundeer
You have 2 options to show your products on website.
1. Use odoo website_sale feature.
you can create new Categories( product.public.category) like man, female, kids.
after creation it will show on shop page and on click specific category you get only that category products.
2. You can create new Categories( product.public.category)
and add dynamic menus in website.
Please find code in comment.
I hope this will help you.
Thanks & Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari
Please find code here :-
for example:
<template id="template_header_default" inherit_id="website.template_header_default">
<xpath expr="//t[@t-foreach='website.menu_id.child_id']" position="before">
<t t-set="categories" t-value="request.env['product.public.category'].sudo().search([])"/>
<t t-foreach="categories" t-as="categ">
<li class="nav-item">
<a t-att-href="'/shop/category/%s' % categ.id" class="nav-link">
<span t-esc="categ.name"></span>
</a>
</li>
</t>
</xpath>
<template>
هل أعجبك النقاش؟ لا تكن مستمعاً فقط. شاركنا!
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيل| المنشورات ذات الصلة | الردود | أدوات العرض | النشاط | |
|---|---|---|---|---|
|
|
2
أكتوبر 24
|
4754 | ||
|
|
1
أبريل 25
|
2281 | ||
|
|
1
فبراير 25
|
2570 | ||
|
How can I make website.
تم الحل
|
|
1
سبتمبر 24
|
3157 | |
|
Product Brand on eCommerce
تم الحل
|
|
5
أغسطس 24
|
7960 |