Post by Axlagusti » Sat Apr 20, 2024 2:31 am

Hi,
I'm trying to view the installed payment methods on a OpenCart 3.0.3.8 Multi Store on store 2 and 3 ... and only shows these methods for the Store 0 (the default one) ... this issue apply to any payment method I will install (cash, bank transfer, PayPal, etc)
Could anyone help me to understand how configure the multi store to make visible the payment methods on the other stores different the default?
Is possible to activate this by a switch or by code ? In any case, could you tell me where?
Thanks in advance
Alejandro

Newbie

Posts

Joined
Mon Nov 20, 2017 1:07 am

Post by Johnathan » Sat Apr 20, 2024 9:32 pm

If you want to restrict them yourself, you'll have to modify their model files. Those would be located in this directory:

/catalog/model/extension/payment/

You'd need to check for the current store_id, compare it against the store_id's you want to enable it for, and then enable/disable the extension accordingly.

If you want an easier option, Restrict Payment Methods can limit any payment method, including by store, and many other rules. Feel free to take a look at the screenshots and demo site, and if you're interested let me know at www.getclearthinking.com/contact if you have any questions.

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am

Who is online

Users browsing this forum: No registered users and 20 guests