# Shopping Cart Addon Module

JomDirectory includes a shopping cart and checkout, so users can purchase items straight from your product catalogue. Shopping cart addon extends Products functionality by adding possibility to purchase products directly on the list or from the product details page. When addon is installed a new section Orders will appear where all purchases are being logged and also Order status can be changed.

### Installing the Shopping Cart Module

The shopping cart module does not need to be installed in order for users to be able to make purchases. However, it does make it easier for users to keep track of their purchases and navigate to checkout.

Start by downloading the shopping cart module. Once downloaded, [install the module using Joomla's Extension Manager](https://docs.joomla.org/Installing_an_extension). Atlernatively, you can [install directly from the web](https://docs.joomla.org/Install_from_Web).

### Configuring JomDirectory's Checkout

The first thing you must do is enable JomDirectory's checkout otherwise users will not be able to add items to the shopping cart and checkout those items for purchase.

To configure JomDirectory's checkout:

<div id="bkmrk-log-into-the-joomla%21">1. Log into the Joomla! administration control panel then navigate to the JomDirectory dashboard (Components -&gt; Directory),
2. Click on the **Options** button (top right corner),
3. Select **Product** from the list of tabs,
4. Change **Enable Cart** to **Yes**,
5. **Save &amp; Close**.

</div>### Configuring the Module

Once the JomDirectory shopping cart module has been successfully installed, you will need to configure, position and publish it.

The JomDirectory shopping cart is just like any other module and so many of the configuration options will look familiar. Go through the options and configure it to you liking. In particular, configure the position and menu assignment and make sure that **Status** is set to **Published**.

<p class="callout info">IMPORTANT: Cart module should be assigned on all menus related to products!</p>

### Adding a Checkout Menu Item

<p class="callout warning">If you have enabled the shopping cart module, you **MUST create a shopping cart checkout page menu item** otherwise the **View Cart** button will not work.</p>

To create a new menu item for the JomDirectory's cart and checkout:

<div id="bkmrk-log-into-the-joomla%21-1">1. Log into the Joomla! administration control panel if you haven't already,
2. Navigate to the Menu Manager (Menus -&gt; All Menu Items or select the menu you wish to add the item to),
3. Click on **New**,
4. Specify a menu item of "**Shopping Cart**",
5. Configure your menu item to your liking,
6. **Save &amp; Close**.

</div>If you are unfamiliar with Menu Manager check out [Joomla!'s menu management documentation](https://docs.joomla.org/Help36:Menus_Menu_Manager).

### Configure Shipping Providers

Shipping Providers can be configured under custom fields. To create a new shipping provider, access Product custom fields, click create new, field type input and choose **group shipping**. Once saved it will be available under Product custom fields.

### Configure Online and Offline payments.

<div id="bkmrk-log-into-the-joomla%21-2">1. Log into the Joomla! administration control panel then navigate to the JomDirectory dashboard (Components -&gt; Directory),
2. Click on the **Options** button (top right corner),
3. Select **Payments** from the list of tabs,
4. Configure online and if needed offline payments
5. **Save &amp; Close**.

</div>### Purchasing a Product

On the frontend, navigate to Product Search or Product Filter; you should now see a cart icon against each product. Click on it, and the product will be added to your shopping cart. Once you have completed your purchase, click on **View Cart**. You will be redirected to your shopping cart where you will be able to purchase your items using JomDirectory's checkout process.

#### That's it! You're ready to start selling your goods.