Installation and setting Content Cart
Content Cart 4.0 Installation
Installation Procedure
- Download the latest version of the Content Cart 4.0 package from the releases section
- Install the package via the Joomla extension manager: System → Install → Extensions
- Activate the "Content - Cart" plugin from the content group: System → Plugins
- Publish the "Content Cart" module: Content → Site Modules
Important: After installation, be sure to configure the plugin before use.
"Content - Cart" Plugin Configuration
1. Basic Settings
Cart Menu Item
- Create a new Joomla article for the cart page
- Create a menu item linking to this article
- In the plugin settings, select this menu item in the "Menu item to cart" field
Cart Storage Time (TTL)
- New feature in version 4.0!
- Specify the number of days to store the cart (1-365)
- Default: 30 days
- The cart is stored in the user's browser (localStorage)
2. Product Price Settings
Important!
Remember or write down the Field ID - you will need it in the next step.
Step 2: Plugin Configuration
- Use price? → Select YES
- Price field ID → Enter the ID of the field created in step 1
- Currency → Enter the currency symbol (e.g., ₽, р., $, €, USD)
Security in version 4.0: Prices are always taken from the server from custom fields. Price manipulation via the browser is not possible!
3. Category Filtering Settings
Filtering Type
Include: The cart will work only in the selected categories
Exclude: The cart will work everywhere except the selected categories
Category Selection
- Select one or more article categories
- Hold Ctrl (Cmd on Mac) for multiple selection
- Categories are applied according to the selected filtering type
4. Cart Application Areas
Articles
Individual article page
Category Blog
List of articles in a blog
Category List
Category page
Featured
Featured articles
Select the areas where the "Add to Cart" button should be displayed
5. Category for Saving Orders
Optional: orders can be saved as Joomla articles
How to configure:
- Create a new article category (e.g., "Orders")
- In the plugin settings, select this category in the "Category for storing orders" field
- Now all orders will be automatically created as articles in this category
Advantages: Convenient order management through the Joomla admin panel, ability to use access rights
Don't want to save?
Select "Do not save" - orders will only be sent to email
6. Customer Information
Configure what information to request from the customer when placing an order:
| Field | Do not show | Optional | Required |
|---|---|---|---|
| Customer Name | Recommended | ||
| Customer Email | Recommended | ||
| Customer Phone | Recommended | ||
| Comment/Note | Recommended |
Tip: Email and name are recommended to be made mandatory for communication with the client
7. Display Settings
Enable CSS
- YES - use built-in plugin styles
- NO - disable built-in styles (for customization)
Layout Overrides
Cart layouts can be overridden in the Joomla template:
/templates/your_template/html/plg_content_contentcart/
"Content Cart" Module Configuration
1. Module Position
Select a position in your template where the cart will be displayed
2. Display Item List
New feature in 4.0!
- YES - show the list of items in the module
- NO - show only the quantity and total amount
3. Module Styles
You can disable built-in styles and use your own CSS
Special Instructions and Compatibility
Compatibility with JL No Doubles
If you are using the JL No Doubles extension, add to stop words:
This will prevent conflicts when the cart is in use
New in Version 4.0
- Cart works without authorization (localStorage)
- Automatic module update when cart changes
- Full protection against CSRF attacks and price manipulation
- Configurable cart storage time (1-365 days)
- Multilingual JavaScript interface