Installation and setting Content Cart

Content Cart 4.0 Installation

Installation Procedure

  1. Download the latest version of the Content Cart 4.0 package from the releases section
  2. Install the package via the Joomla extension manager: System → Install → Extensions
  3. Activate the "Content - Cart" plugin from the content group: System → Plugins
  4. 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

Path: Extensions → Plugins → Content - Cart

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)

Field: "Cart storage time (days)"

2. Product Price Settings

Step 1: Create a custom field for the price

  1. Go to: Content → Fields
  2. Click "New"
  3. Specify the field title (e.g., "Price")
  4. Select field type: "Text"
  5. Set filter: "Integer" or "Floating point number"
  6. Save the field
  7. In the field list, find the Field ID (far right column)
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

Use if items are in specific categories

Exclude: The cart will work everywhere except the selected categories

Use if items are site-wide

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:

  1. Create a new article category (e.g., "Orders")
  2. In the plugin settings, select this category in the "Category for storing orders" field
  3. 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:

FieldDo not showOptionalRequired
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)

If you want to use your own styles, select "NO"

Layout Overrides

Cart layouts can be overridden in the Joomla template:

/templates/your_template/html/plg_content_contentcart/

Copy files from /plugins/content/contentcart/layouts/


"Content Cart" Module Configuration

1. Module Position

Select a position in your template where the cart will be displayed

Typically: sidebar, header, or a custom position

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

Path: Extensions → Modules → Content Cart

Special Instructions and Compatibility

Compatibility with JL No Doubles

If you are using the JL No Doubles extension, add to stop words:

<code>cart=1</code>

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

email: This email address is being protected from spambots. You need JavaScript enabled to view it.

© 2010- JoomLine

The Joomla!® name is used under a limited license from Open Source Matters in the United States and other countries. joomline.org is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.