J2Store Documentation
DownloadFeaturesApps
  • Introduction to J2Store
  • Getting Started
    • Introduction to J2Store
    • Getting started with J2store
    • Technical Requirements
    • Installation
    • Update
    • Upgrade from FREE version to PRO version of J2Store
    • Migrating from 2.x to3.x
  • Migration from J2Store 3 to 4
  • Set up
    • Content plugin settings
    • Configuration
    • Currency
    • Custom fields
    • Set up multi-currency
  • Quickstart guide
  • Product Types
    • Simple product
    • Variable product
    • Configurable product
    • Flexible variable product
    • Downloadable product
  • Layout
    • Product layout
    • Product tag layout
    • Usecases
    • Category Tree for displaying filters
    • Special module positions
  • Catalog
    • Assigning a product to multiple categories
    • Product description
    • Short codes
    • Adding specifications to your products
    • Advanced pricing
    • Setting up tax for your products
    • Options
      • Import product options
      • How to create options and add them to your products
    • Filters
      • Product filters
      • Translating filters to your language
    • Manufacturers
    • Vendors
    • Adding related products
    • Ordering products on your storefront
  • Subscriptions and Memberships
    • Introduction to subscriptions and memberships in J2Store
    • Quickstart
    • Requirements and Installation
    • Basic Settings
    • Creating subscription based products
    • Simple Subscription Product
    • Paypal Reference Transactions for Subscriptions
    • Usecases
    • Customizing the subscription mail templates
    • Frequently asked questions
  • Partial Payments
    • Introduction to Partial payments
    • Basic Settings
    • Setting up plans for Partial Payments
    • Instances
    • Usecases
  • Booking and Reservations
    • Limitation of the booking products type
    • Requirements and Installation
    • Basic settings and Booking Management
    • Booking and Reservations
    • Creating a Bookable Product
    • how to restrict multiple booking for a product person based restriction
    • Usecases
  • Localisation
  • Translation
    • Translate J2Store into your language
    • Setting up the store in your Language
    • How to write language override for plugin in multilingual site
    • Language overrides in Joomla with examples
    • Translating Product Options
  • Design
    • Email templates
    • Invoice Template (Pro Feature)
  • Tax configuration
    • Untitled
    • Recommended Tax configuration for US States
    • Recommended Tax configuration for Canadian Stores
    • Recommended Tax Configuration for EU stores
    • Setting up European VAT Rules for selling Physical Goods with J2store
    • A simplified guide for New EU VAT rules 2015 for digital goods and setting them up in J2Store
    • How Tax is Calculated
  • Easy Checkout
    • Easy checkout
    • Trouble shooting issues
  • Shipping methods
    • Free Shipping
      • How to create coupons for free shipping
    • How to set up local store pick up shipping method
    • Australia post shipping plugin
    • Bring shipping plugin
    • Canadapost shipping plugin
    • FedEx shipping plugin
    • Purolator
    • Postal Code shipping plugin
    • Royal Mail Shipping
    • Standard shipping methods
    • Table Rate Shipping
    • UPS Shipping
    • USPS Shipping
    • United States postal service Shipping Plugin
    • USPS Advanced
  • Payment Methods
    • AliPay Payment Plugin
    • Authorize.Net plugin
    • Bank Transfer
    • Barclays Payment plugin
    • Braintree payment plugin
    • Cash on Delivery
    • CardSave Payment plugin
    • CCAvenue payment plugin
    • CECA Payment
    • Checkout fi¨
    • Culqi Payment
    • DIBS payment plugin
    • Direcpay Payment Plugin
    • EBS Payment Plugin
    • Elavon Coverage/Virtual Merchant Payment Plugin
    • eway Payment Gateway for j2store
    • First Data Plugin
    • Flo2Cash for J2Store
    • GestPay
    • Heartland Payment Plugin
    • Icepay Payment Plugin
    • Interpay
    • Klarna Payment Plugin
    • Mollie payment plugin
    • Money Order
    • Moneris eselectplus Hosted Paypage
    • MultiSafe Payment Plugin
    • Nochex Payment Plugin
    • NMI Payment Gateway
    • Ogone Payment plugin
    • Pagseguro Payment plugin
    • Paybox Payment plugin
    • Payeezy
    • Payfast Payment plugin
    • Paygate Payment
    • Paymate
    • Paypal Sandbox
    • Paypal Adavnced Payment plugin
    • Payment Express for J2Store
    • Payment Sense
    • Paypal Express Checkout
    • Paypal payment plugin
    • Paypal Pro Payment Plugin
    • Payseal Payment Plugin
    • Paysera Payment Plugin
    • Payson Payment Plugin
    • Payson Invoice Payment Plugin
    • Pay U Latam
    • PayUMoney plugin
    • Poli Payment Plugin
    • Post Finance
    • QuickPay
    • Razorpay
    • Rabobank Omnikassa
    • RealEx Payment Plugin
    • Redsys/Servired/Sermepa Payment Plugin
    • Sagepay Form Payment Plugin
    • Secure Trading Plugin
    • Sepa Payment
    • Sisow Payment for J2Store
    • Skrill Payment Plugin
    • Sofort Banking
    • Stripe
    • Squareup Payments
    • Tranzila Payment Plugin
    • USAePay Payment Plugin
    • Voguepay Payment Plugin
    • Worldpay Payment Plugin
    • 2Checkout Plugin
  • Sales
    • Coupons
    • Vouchers
    • Customers
    • Orders
  • Report Sales
  • Modules
    • Product search module
    • J2store Detailed Cart
    • Product categories module
    • Product display module
  • Apps
    • Add to user group
    • Additional fee
    • Ask question / quote
    • Availability-notification
    • Bundled Products
    • Bulk discounts
    • Change Password
    • Checkout Redirect
    • Custom Tabs
    • Data validation
    • Donation
    • Drop-box
    • Email basket Plugin
      • Email basket issues
    • GDPR compliance
    • Google-analytics-ecommerce-tracking
    • Group Products
    • How to send download links through email notifications
    • Image Popup
    • Invoice Prefix Generator
    • Open hours (time based restriction)
    • Pay later/Pay against invoice
    • Points and Rewards
    • Re-Order
    • Shipstation
    • Simple CSV import and export tool
    • Tax Utilities
    • Upload file in checkout
    • Quantity dropdown
  • Frequently Asked Questions
    • Where can i find my sub-template
    • Products not aligned properly on list view
    • SCA support for payment plugins
    • To show the base price instead of price range in flexivariable products
    • Where do I add the CSS on my site
    • Unable to save the settings in any app
    • Difference between product types
    • Commonly found issues
    • Frequently Asked Questions
    • Quantity Restriction
  • Troubleshooting Guide
    • Products not visible on storefront
    • Cart not Working
    • Troubleshooting Cart related Issues
    • Moving the description
    • Troubleshooting Checkout Issues
    • Troubleshooting Common Issues
    • How to disable shipping address and payment in checkout
    • Joomla Article Error decoding json data
    • Troubleshooting Email Issues
    • Troubleshooting Paypal related Issues
    • Troubleshooting Product Display Module Issues
    • How to create a custom thank you message
    • Troubleshooting Shipping Issues
    • Troubleshooting Tax Issues
    • Troubleshooting Translate related Issues
  • Common Overrides
    • To add options to downloadable products
    • Moving additional image list to the left of the main image in product view page
    • To display the UPCE/BAN/ISBN on the product page
    • To Display Both the main Image and the additional image in the product view page
  • Video Tutorials
    • Quick Start
    • Catalog Management
    • Subscriptions
    • Booking and Reservation
    • Partial Payments
    • Tax
    • Shipping Methods
    • Discounts
    • Language
    • Apps
    • Email and Invoice Template
    • Checkout and Payment
    • Sales and Orders
    • J2Store CPanel
  • General
    • How to set cron job on your server
    • How to create an FTP account and super user account in Joomla
  • Developer Guide
    • Introduction
    • Queue System
    • App for J2store
    • Sub-templates
    • Creating an integration plugin for your component
    • Payment plugin
    • Templates
  • Canonical URL Plugin
Powered by GitBook
On this page
  • Are you trying to hide the buy button for specific products?
  • Not adding items to the cart
  • Cart cleared during registration
  • Is cart not responding when you click update or empty cart button?
  • Minicart icon not showing up?
  • [HOW TO]Add cart module right or left below the product filter?
  • Avoid cart items cleared
  • Javascript conflict
  • JSON support
  • I don’t see Add to Cart Button. What is the problem?
  • HOW TO move Add to Cart Button using the Short Plugin tag

Was this helpful?

  1. Troubleshooting Guide

Troubleshooting Cart related Issues

PreviousCart not WorkingNextMoving the description

Last updated 4 years ago

Was this helpful?

Are you trying to hide the buy button for specific products?

By applying a small css rule in your template’s css file, you could hide the cart button for particular product.

Below is the css that should be applied at the end of your template’s css file

.product-xx .j2store-add-to-cart { display: none; }

Where XX is your product ID.

Not adding items to the cart

EU e-Privacy Directive plugin does not even allow the Joomla session cookie.That means, no one can login in the front end including customers.

In the plugin settings, make sure the Joomla session cookie is allowed.J2Store saves the cart data in the Joomla session and maintains the cart record id there and also address information (if checked out as guest).So J2store at least requires you to allow the Joomla session cookie.

Cart cleared during registration

It is beacuse the default Registered group and Guest group chosen might be wrong.

Please go to User manager -> OptionsMake sure the Default Registered Group is set to: RegisteredDefault guest user group is set to : Guest

cart clear

And make sure you do not have any cookie domains in Joomla admin - Global configuration.

To validate if your settings are correct, try this basic Joomla feature:

Try to login as a user in the frontend. If you are able to login and stay logged in, then your user settings are correct.If you could not login, then your user manager settings are not correct.

To change the Add to cart block and style in category view

copy /components/com_j2store/templates/YOUR-SUB-TEMPLATE/default_cart.php

to

/templates/TEMPLATE>/html/com_j2store/templates/YOUR-SUB-TEMPLATE/default_cart.php

IMPORTANT: If you are using bootsrap 3 as a sub-template, replace the default with bootstrap3(/components/com_j2store/templates/bootstrap/..)

To change the Add to cart block and style in item view

copy /components/com_j2store/templates/YOUR-SUB-TEMPLATE/view_cart.php

to

/templates/TEMPLATE>/html/com_j2store/templates/YOUR-SUB-TEMPLATE/view_cart.php

Make the changes and save.

Is cart not responding when you click update or empty cart button?

If you enable System - Page Cache / SpeedCache or any thidy party cache plugins, they photo copy every page including the cart page.Though the cart page is dynamic, it would not listen. It would just photocopy the page and stores it. Until cache is cleared, it will keep serving the photo-copied page.

In eCommerce / dynamic websites, you should not use Page Caches likes System - Page cache plugin.

Please disable the cache plugins like System - Page Cache. Clear your cache and check.

Another thing:

Progressive caching. It is not a recommended cache method. This will override modules having dynamic content and cache the module output as well (Imagine the cart module. Its contents change. But progressive caching will not listen even if you set in the Module advanced settings to No Caching).

Please use the Conservative caching.

Minicart icon not showing up?

It seems to be applying wrong font-awesome class in module settings page.

  • Open J2Store cart module under Extensions->Modules->J2Store cart.

  • You can see something like below entered in the Minicart icon class text box fa fa-shoppingcart

  • Change with fa fa-shopping-cart

  • Save.

[HOW TO]Add cart module right or left below the product filter?

You can use special module positions in the filter display section to display the cart module to the product filter.

  1. j2store-filter-left-top -Top of left filter

  2. j2store-filter-left-bottom -Bottom of left filter

  3. j2store-filter-right-top -Top of right filter

  4. j2store-filter-right-bottom -Bottom of right filter

Avoid cart items cleared

Sometimes customers accidently entered wrong credit card / debit card details. He came to know that he entered wrong card details only after clicking on place order. But cart items will be cleared once you clicked place order button. So you could not retry the payment process and it makes you frustrating.

To overcome this, you can restrict clearing cart items only on order confirmation.

Go to J2Store > Configuration > Cart tab. Find the param “Clear cart items”. Set this param to “On Confirmation” and save.

Minicart module not updating the number of items in cart

J2Store’s Mini Cart is a very handy tool for your customers when they shop. They can check the number of items in their order and the total. The cart module is refreshed in real-time using an AJax request. On a few occasions, the cart may not get updated on a real time. Here is a checklist that should help you solve the problem.

  • Global Cache settings

Go to Joomla admin - Global configuration - System tab.

Caching is like taking a snapshot of your pages and presenting the same to every visitor coming to your site (until the cache is refreshed again).

Since the cart module handles dynamic data, it should be excluded from caching.

In order to exclude the module from caching, your Global cache setting should be set either to Conservative Caching or Disabled. Check the screenshot below.

If you use Progressive Caching, Joomla will override the Cache settings in the module. The cart module might work fine in smaller sites with Progressive Caching enabled but if you have a larger site with a large number of visitors, then it might cause issues with the module.

  • Module caching

Go to Joomla admin - Module Manager - J2Store Cart module

In the Advanced tab, set the Caching to No Cache.

Javascript conflict

Since the J2Store updates the cart module using an AJAX request, it is important that your site does not have any javascript conflicts.

Javascript conflicts mostly occur due to loading of multiple jQuery libraries or the lack of a Javascript library. it is possible that a third party extension / module in your site might be using an older or incompatible javascript library, which might produce a conflict.

Solution A:

Please download and install a jQuery Script manager like jQuery Easy and configure it. This should solve most of the issues

Solution B:

It is not exactly a solution. Its a troubleshooting method. Open your website in the Google Chrome browser. Open the browser menu and go to Tools -> Developer Tools.

You can see the Developer Tools window opening at the bottom of the browser. Navigate to the Console tab.

Now Refresh your website. The Console tab will show you if there are any javascript conflicts in your site. It will also show you the file name and the line number that produce the error. Take a screenshot and send it to us and also send a copy to your template provider. We will check and get back to you with the solution.

JSON support

While most of the hosting service providers enable the JSON support for PHP by default, some do not. It is easy to check if JSON is enabled or not in your hosting account.

Go to Joomla admin - System - System Information - PHP Information

You can check whether JSON support enabled or not in the PHP Information tab. if you do not find any mention of JSON, then you can assume that it is not enabled for your account. You should get in touch with hosting service provider, who can enable the JSON support for your account.

You can look for something like below in the PHP Information tab.

I don’t see Add to Cart Button. What is the problem?

Don’t worry. This is often a simple configuration mistake. We have answered this question more than hundred times.

This post explains the reasons behind this. Make sure you check the following points before writing to us or posting in the forums.

Step 1:

Go to Joomla admin - > J2Store -> configuration -> product tabSet the Catalog Mode to NO and save

Catalog Mode: The term itself explains that your products are just a catalog. Set this param to YES, only when you dont want your customers to purchase from the website and just provide price information. Otherwise, this param should always be set to YES.

Check your store front. Still you can’t see the add to cart button? Move on to Step 2.

Step 2:

If you are here, then you need to check another parameter.

Go to Joomla admin - > J2Store -> Configuration -> Cart tab.

Did you set the Add to cart placement to Within article using tag:

If yes, then go to Article Manager and open your article / product.

In the content area, did you enter the J2store plugin tag somewhere?

You can find the correct tag ( a plugin shortcode) under the J2store cart tab. You can copy the shortcode and paste in the content area.

Now save the article. Now you will be able to see the Add to cart.

Step 3:

Still no luck. Then there might be a template override for the articles or some other plugin is causing an issue.Post in the forums with URL to a product in your site. Our support team will take a look and help you solve the issue.

HOW TO move Add to Cart Button using the Short Plugin tag

You can move the location of the Add to cart block within the product layout using a simple plugin tag.

There are a few steps involved in using the plugin tag feature. Read on to understand.

Step 1: Change the Add to cart placement param

By default, the Add to cart button will appear after displaying the product (article) content. You can, however, change this and take control of its placement. You first need to change the param that controls the add to cart placement.

Go to Joomla admin - J2Store - Configuration - Cart tab

Set the Add to cart placement to Within article using tag and save. (See the picture given below).

NOTE: You can also set the param to BOTH. In that case, the cart block will display at two places - a place where you entered the plugin tag and its default location.

Step 2: Using the plugin tag in product content (article)

Now go to Joomla admin -> Content -> Article Manager.Either create an article (product) and save or open an existing product.

Go to the J2Store Cart tab. You will find the plugin tag to use for the product.(see the screenshot below)

Either copy the plugin tag and note it down. In this example, the following plugin tag is used {j2storecart 2}

Here 2 is the product ID (aka, Article ID )

Now go to the Content tab and enter the plugin tag

Now save the article.

You will now see the add to cart block placed at your preferred location.

For more details about special module position, please click

cache settings
mod cache
developer tool console
json
cart placement
cart tag
Here