No Duplicate Product in Cart for JoomShopping

Getting Started

This is simple JoomShopping plugin that prevents adding the same item to the cart again. The user will receive a notification "you have already added this item to the cart". It's useful for e-commerce sites that has products with similar names.

Installation

No Duplicate Product in Cart for JShopping can be installed as usual Joomla extension. Download the latest version, proceed to your website: Control Panel > Extensions > Extension manager > Install extension.

Configuration

The plugin has no settings. Just enable it after the installation.

If you want to change the notification text, you can use Joomla language override feature. Please go to Administrator Panel > Extensions > Languages > Overrides. Then select preferrable front-end language (e.g. English (en-GB) Site) in the filter and add a new PLG_JSHOPPINGCHECKOUT_CHECKCART_MSG constant.

"You have already added this item to the cart" is an example of the text, but you can define your custom text. The result will be like that:

Language override for No Duplicate Product in Cart for JoomShopping
Adding a constant to override the language string
No Duplicate Product in Cart for JoomShopping - front-end result
Front-end side: the result when you attempting to add the same item to the cart again