Post by HAO » Sun Oct 20, 2024 12:20 am

我相信大家過多或少,有些商品是不適合超商取貨付款的出貨方式。

因此我跟開發商 Codinginspect 共同規劃開發「商品出貨方式 & 付款方式(根據客戶群組大量更新)」模組。

雖然目前只是在規劃程式碼運作邏輯的階段,但我可以保證若這個客製化開發專案完成,就能避免不適合使用超商取貨付款的商品被誤用的情況。

更不用說,能夠針對單一客戶群組,只能進行一次性的批次修改,避免多個客戶群組的出貨跟付款方式造成設定衝突的問題。(當然也能針對單一商品進行編輯)

模組開發概念圖

商品管理 > 商品 > 出貨 & 付款方式,在這裡您可以針對單一商品進行設定。
Image

針對每個規則用選取的方式,來決定哪些出貨商品跟付款方式要套用到哪個商品分類?

Image

選取完之後再按下[批次修改]的按鈕來完成設定,設定完之後,可以再針對其他客戶群組,或商品分類來做設定。

資料表結構:

Code: Select all

CREATE TABLE `oc_product_method_ci` (
  `product_method_id` int(11) NOT NULL,
  `customer_group_id` int(11) NOT NULL,
  `product_id` int(11) NOT NULL,
  `product_shipping_method` varchar(2550) NOT NULL,
  `product_payment_method` varchar(2550) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
產生的資料結構:

Code: Select all

INSERT INTO `oc_product_method_ci` (`product_method_id`, `customer_group_id`, `product_id`, `product_shipping_method`, `product_payment_method`) VALUES
(1, 1, 1, 'flat,category_product_based', 'bank_transfer,pp_standard'),
(2, 2, 1, 'item,category_product_based', 'pp_standard'),
(3, 3, 1, 'category_product_based', 'bank_transfer'),
目前 Codinginspect 開發商的報價是 $250 USD 我目前能夠負擔的是 $100 的額度。

因此我希望能夠徵求兩位朋友幫忙分攤剩下的開發成本,分攤的比例為 $75*2=150 的額度。

付款方式可以透過 Codinginspect 的網站來完成付款。

來自 Codinginspect 的承諾。

完整相容:
OpenCart 3.0.4.0
OpenCart 4.0.2.3
Journal 3.2.0-rc.101(包含以上版本)

開發完成後可以得到100天的技術支援。

請問有朋友願意分享開發費用嗎?
Last edited by HAO on Tue Oct 22, 2024 12:25 pm, edited 1 time in total.

HAO
Active Member

Posts

Joined
Fri Jun 03, 2011 2:52 pm

Post by SohBH » Mon Oct 21, 2024 3:15 pm

可以直接在商品管理,新增商品避免取貨方式

Code: Select all

ALTER TABLE `oc_product` ADD `no_self_pickup` TINYINT(1) NOT NULL DEFAULT 0;
如果购物车含有商品属于避免取貨方式 ,$status = false;

View all extensions | Request custom work | Pricing | Contact Me


User avatar
Active Member

Posts

Joined
Mon Nov 02, 2020 12:01 am
Location - Malaysia

Post by HAO » Mon Oct 21, 2024 6:04 pm

對我來說,我會希望能快速的解決我的問題。

再加上,我以後會使用多個付款方式跟出貨方式,因此這個模組的功能完全符合我的需求。

因為我管理的商店有4000多個商品,我沒辦法一個一個慢慢來設定每個商品出貨跟付款方式。

還請理解!

HAO
Active Member

Posts

Joined
Fri Jun 03, 2011 2:52 pm

Post by SohBH » Mon Oct 21, 2024 7:02 pm

像这样就可以快速修改 category_id = 10 的商品

Code: Select all

UPDATE `oc_product` p
JOIN `oc_product_to_category` pc ON p.product_id = pc.product_id
SET p.no_self_pickup = 1
WHERE pc.category_id = 10;

View all extensions | Request custom work | Pricing | Contact Me


User avatar
Active Member

Posts

Joined
Mon Nov 02, 2020 12:01 am
Location - Malaysia

Post by HAO » Mon Oct 21, 2024 8:19 pm

請你確認相同商品不同客戶群組的情況,如果你搞清楚之後,請不要妨礙我募款,謝謝合作!

Code: Select all

INSERT INTO `oc_product_method_ci` (`product_method_id`, `customer_group_id`, `product_id`, `product_shipping_method`, `product_payment_method`) VALUES
(1, 1, 1, 'flat,category_product_based', 'bank_transfer,pp_standard'),
(2, 2, 1, 'item,category_product_based', 'pp_standard'),
(3, 3, 1, 'category_product_based', 'bank_transfer'),

HAO
Active Member

Posts

Joined
Fri Jun 03, 2011 2:52 pm

Post by khnaz35 » Mon Oct 21, 2024 9:39 pm

If you will post in english might be more people able to help you out.

Got an urgent question that’s keeping you up at night? There might just be a magical inbox ready to help: khnaz35@gmail.com
Enjoy nature ;) :) :-*


User avatar
Active Member
Online

Posts

Joined
Mon Aug 27, 2018 11:30 pm
Location - Malaysia

Post by HAO » Tue Oct 22, 2024 12:17 am

I have synced posted in two language forums, I only post here because I'm from Taiwan:
[Module] Product Shipping Method & Payment Method (Batch Modified Based On Customer Groups) - Fundraising

For me, I need someone to help me share funds, That's all.

HAO
Active Member

Posts

Joined
Fri Jun 03, 2011 2:52 pm

Post by SohBH » Tue Oct 22, 2024 1:55 pm

按照不同客戶群組的情況 可以调整个别 payment method

Code: Select all

$status = in_array($this->customer->getGroupId(), array(1)) ? true : false;

View all extensions | Request custom work | Pricing | Contact Me


User avatar
Active Member

Posts

Joined
Mon Nov 02, 2020 12:01 am
Location - Malaysia

Post by HAO » Tue Oct 22, 2024 5:41 pm

SohBH wrote:
Tue Oct 22, 2024 1:55 pm
按照不同客戶群組的情況 可以调整个别 payment method

Code: Select all

$status = in_array($this->customer->getGroupId(), array(1)) ? true : false;
這位先生請問你是在跟我搶生意嗎?

我都跟你說了,我是在招募合資的成員。

你提供的應對方式,能夠比我還要更快解決問題嗎?

我不需要你提供任何建議,請不要佔用我的文章來混淆視聽。

HAO
Active Member

Posts

Joined
Fri Jun 03, 2011 2:52 pm

Post by SohBH » Wed Oct 23, 2024 3:55 pm

这里只公开讨论 不做生意

這位先生請在这里谈生意
viewforum.php?f=123

View all extensions | Request custom work | Pricing | Contact Me


User avatar
Active Member

Posts

Joined
Mon Nov 02, 2020 12:01 am
Location - Malaysia

Post by HAO » Tue Dec 10, 2024 11:14 pm

請問你知道 OpenCart 在台灣為什麼市佔率那麼低嗎?

這是因為 OpenCart 台灣社群討論並不普及,也沒有正式的 OpenCart 官方正體中文支援站。

所有資源都要各自想辦法去買模組,或是客製化開發,能夠買現成的也就算了,但如果要客製化開發,也沒有多少人可以負擔得起。

因此我才想到這種分攤開發成本的方式,找到可以信任的開發者一起完成開發,這樣才能夠持續讓台灣社群有一點生存的空間。

而我透過一些投資者的幫助,我已經完成這個客製化開發專案,對我來說就能夠解決超商取貨的問題。

請認清只有 OpenCart 壓低成本才能夠勉強生存的現實情況,因為功能更好的已經有訂閱式的電商平台可以使用。

我只是想要讓台灣使用者得到更好的體驗。

HAO
Active Member

Posts

Joined
Fri Jun 03, 2011 2:52 pm
Who is online

Users browsing this forum: No registered users and 3 guests