kentico_radekm
-
11/7/2013 8:02:28 AM
RE:Payment method for different country
Hello.
It is possible, but some customization is required.
You need to customize CMSModules\Ecommerce\Controls\ShoppingCart\ShoppingCartPaymentGateway.ascx control. This control contains Payment selector control with available payment options.
What you can do is:
1. Make Ecommerce - Payment option table system table, by changing its "ClassShowAsSystemTable" flag in CMS_Class table to true.
2. Add custom column into this table e.g. with country name.
3. In ShoppingCartPaymentGateway.ascx markup there is PaymentSelector control, allowing you to set where condition.
4. In code-behind, you can access ShoppingCart object, check country and set where condition as per its value.
Best Regards, Radek Macalik
|