2.4. Adding and configuring the WebStore e-commerce module for Orchard

2.4.1 Installing, configuring and enabling the module

As any other Orchard module, the WebStore e-commerce module for Orchard is available in the Gallery.

By default, the module is configured to work with a Paypal Sandbox account. To switch to Paypal production mode, open the Controllers\BasketController.cs file of the module's directory, and edit line 18 by changing

private const string K_PAYPAL_PAYMENT_URL = "https://www.sandbox.paypal.com/cgi-bin/webscr";

to

private const string K_PAYPAL_PAYMENT_URL = "https://www.paypal.com/cgi-bin/webscr";

 

Once installed adn configured, the module can be enabled under the "e-commerce" category of the Features section.

Enabling WebStore e-commerce module for Orchard

2.4.2 Configuring the module

To be effective, the module must be configured with the following information :

  • WebStore Services URL
  • Merchant
  • Catalog

This can be set under the WebStore area of the Settings section.

Don't forget to specify a paypal account (email address) to receive payments, otherwise the final step of the checkout won't be operationnal.

2.4.3 Synchronizing the module

Once configured, the WebStore e-commerce module for Orchard must fetch all the data from the services.

This can be done using the "Synchronize" link in the WebStore section of the left hand-side menu.

Synchronizing WebStore e-commerce module for Orchard

Orchard is now ready to display your WebStore content (categories, products, shopping cart...).

Displaying WebStore categories in Orchard

 

Displaying WebStore products in Orchard 

Next : Managing Categories in Magelia WebStore and Orchard

Last edited Apr 1, 2011 at 3:12 PM by everneret, version 12

Comments

NohaBasiony Feb 6, 2012 at 11:15 AM 
I have an issue , When i try to configure WebStore e-commerce like in this document the service path is not working http://188.165.251.144/ServicesOrchard/ so i can't complete the configuration , Could you help me ?