DuxCommerce is implemented as a few Orchard Core modules. Installing DuxCommerce is not different from setting up a Orchard Core website.
-
Clone DuxCommerce soure code.
-
Open
DuxCommerce.Source.slnin Visual Studio and build the solution. -
Set
DuxCommerce.Web.csprojas starup project and start it. -
Fill in the setup form as usual and submit it.
-
Log in using the user account you created in the previous step.
-
In the Admin section, navigate to Configuration > Features, enable the following DuxCommerce modules:
DuxCommerce.StorefrontDuxCommerce.Payments.OfflineDuxCommerce.Payments.PayPalDuxCommerce.Payments.Stripe
-
Check the logs under
src\DuxCommerce.Web\App_Data\logsto ensure there are no errors. -
After a successful installation, a
Commercemenu will appear in the Admin section.
Under Commerce > Catalog, you can manage categories, products, inventories and shared product options such as size and color.
-
Navigate to Commerce > Catalog > Categories and click the Create button.
-
Fill in the category details and click Publish button.
-
Navigate to Commerce > Catalog > Products and click the Create button.
-
Enter product name and prices.
-
Select the category created in the previous section.
-
Click the Publish button.
DuxCommerce supports PayPal, Stripe and five offline payment methods out of the box. You can enable and configure different paymethods for different countries.
-
Navigate to Commerce > Settings > Payments and click the Enable button to enable a payment method.
-
Click the Configure button to configure the selected method.
-
Enter payment instructions, choose the countries where the selected method will be available and click the Save button
DuxCommerce supports shipping fee calculation based on weight, quantity and order total. You can enable and configure different shipping methods for different countries and regions.
-
Navigate to Commerce > Settings > Shipping.
-
On the Shipping Origin page, click the Edit button.
-
Update the shipping origin address and click the Save button.
-
On the Shipping Profile page, click the Add Zone button.
-
On the Create Zone page, enter zone name and choose applicable countries and states.
-
Click the Save button.
-
On the Shipping Origin page, selected the created shipping zone by clicking the Edit button.
-
On the Edit Zone page, click the Shipping Methods tab.
-
On the Shipping Methods page, click the Add button.
-
On the Add Methods page, enter method name, choose method type and click the Save button.
-
On the Shipping Methods page, click the Edit button.
-
On the Edit Method page, click the Add button.
-
On the Add Rate page, enter rate detais and click the Save button.
-
Add more rates until you cover all the ranges.
DuxCommerce supports tax codes like Tobacco and Alcohol, and three types of tax zones:
- Tax zones based on countries
- Tax zones based on states or provinces
- Tax zones based on postal codes
-
Navigate to Commerce > Settings > Taxes > Tax Codes.
-
On the Tax Codes page, click the Add button.
-
On the *Add Code" popup, enter tax code and click Save button.
-
Navigate to Commerce > Settings > Taxes > Tax Zones.
-
On the Tax Zones page, click the Add Zone button.
-
On the Create Zone page, enter zone name, select the first zone type, choose a country and click Save button.















