Wednesday, April 7, 2021

addon customization

 1

Get the correct addon version and download.
for this example, I use Charge Logic 

https://sanacommerce.visualstudio.com/Sana%20Add-ons/_git/EXT_PSP_ChargeLogic

1 set up the Project the following folder structure.


Add Addons Folder , Then add Downloaded Addon project

2. Then Build the Project ,

if you receive an attribute missing error. Add following attribute to configuration



you can find The PaymentModule Id from ChargeLogicConnectPaymentExtension

[PaymentModuleId("ChargeLogic")]
    public class ChargeLogicConnectPaymentExtension : PaymentExtension<CustomChargeLogicMethodsSettings>, IConfigurable<ChargeLogicConfiguration>
    {


3. Update the addone as following

This will show how to modify an addon
https://community.sana-commerce.com/docs/Guides/Extensions/how-to/payment-method-settings.html


4. Then Create a Package need to upload on Beta web shop.


To learn How to create new Addon:-

 https://community.sana-commerce.com/docs/Guides/Extensions/how-to/create-payment-extension.html

_varient drop down manualy select Holzpitcher Project

  on Customization user able to click view  _variantDropdown @model  ProductViewModel @ using  Sana . Commerce . Catalog; @ using  Sana . C...