Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
1850 มุมมอง

Hi,


We are wondering as to how we can make a certain shipping method (free shipping) available during checkout (on the ecommerce site) only if the customer is a paid member of a certain membership (members module).


Would really appreciate any ideas!


Thanks,

Aravind

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hello Aravind, yes this is possible have a look at this custom-built module 

https://apps.odoo.com/apps/modules/16.0/sale_loyalty_custom

Hope this helps

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi Aravind, sadly this can only be done with a custom module. 

The result could be a domain widget on the shipment method with which you could freely configure that the shipment method only appears if the sales order has a customer which is a paying member and the membership type is of type X. 

Very technical: to do this, I would adjust the method _match_address() in the file odoo/addons/delivery/models/delivery_carrier.py to add extra matching conditions

We'ld be very happy to help, just contact us via hi@latus.ch. Good luck and thanks!

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ส.ค. 25
826
0
ธ.ค. 22
47
1
ก.ค. 15
5330
5
ม.ค. 24
8576
2
พ.ค. 20
9888