J2Commerce Documentation
DownloadExtensions
  • Welcome to J2Commerce
  • Getting Started
    • Introduction to J2Commerce
    • Getting started with J2Commerce
    • Technical Requirements
    • Installation
    • Update
    • Upgrade from FREE version to PRO version of J2Commerce
  • Migrating from J2Store 3 to 4 3 to 4
  • Set up
    • Content plugin settings
    • Configuration
    • Currency
    • Custom fields
    • Set up multi-currency
  • Quickstart guide
  • Product Types
    • Simple product
    • Advanced Variable product
    • Configurable product
    • Flexible variable product
    • Downloadable product
  • Layout
    • Products List View
    • Products Tag View
    • 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 J2Commerce
    • 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 bookings for a product person based restriction
    • Usecases
  • Localisation
  • Translation
    • Translate J2Commerce 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 J2Commerce
    • A simplified guide for New EU VAT rules 2015 for digital goods and setting them up in J2Commerce
    • 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
  • Scenario:
  • Steps to be done:
  • Screenshots:
  • Video Tutorial:
  • How this module works:
  • Installation:
  • Configuration:
  • Adding a related product in the Joomla article view:
  • Scenario:
  • Steps to be done:
  • Frontend display
  1. Catalog

Adding related products

J2Commerce (formerly known as J2Store)

Adding related products has never been as easy as it is now. Here is how you could add up-sell and cross-sells products on your store.

Scenario:

Let us suppose your site sells Tea cups, Tea pots and Serving plate. Let us suppose that the product Brook Ceramic serving plate from the serving plates section is related products to another product named Paragon Blue Tea cup from the Tea cups section and you wish to see the Hand painted Tea pot from the Tea pots menu in the cross-sells section.

Steps to be done:

  • Create an article for Paragon Blue Teacup.

  • Create another article for the Brook Ceramic Serving plate and one for the hand-painted teapot.

  • In the relations tab of the Paragon Blue Teacup article, type in Brook Ceramic Serving Plate.

  • The Serving Plate’s article would pop up. Add it to the upsells section.

  • Now type the name Hand-painted Teapot in the cross-sells section.

  • The article with the name Hand-painted Teapot would pop up. Add it to the cross-sells section.

  • On the side bar, navigate to menus > manage > Create a menu for Teacups of the type J2Commerce > Product list.

  • Navigate to the Product view options tab and set the options Up sells (Related products) and Cross sells (Related products) to Yes.

  • Visit the frontend of the site and click on the Teacups menu.

  • Now, from the list of products displayed, click on the Paragon Blue Teacup.

  • In the item view page of the teacup, the Serving plate would be listed in the Related products section.

  • The hand-painted teapot would be available in the cross-sells section.

Screenshots:

Video Tutorial:

Showing related products on the cart page:

By default, the related products would be displayed on the item view page of the parent product only.

Now that we have added the related products to the required parent products, we might want to display these related products on the cart page as well.

How this module works:

Once you have added related products to your parent products, all you have to do is install the module, assign it to the pages you wish to display the related products, and set a position where the module has to be displayed on the chosen pages.

NOTE: The Related products module would display the related products only if the product present in the cart has associated Relations to it. The product in the cart should have a related product added to it.

Installation:

  • Download the module from the above link and install it through the default Joomla installer(under Extensions->Install).

  • Navigate to Extensions->Modules->Edit the related products module.

Configuration:

The module has several options that allow you to customize the view of the module on the storefront.

Once the layout configuration is done, navigate to the Menu assignment tab on the module and choose the pages where the module should be published:

Adding a related product in the Joomla article view:

Scenario:

The product Net has to be added as a related product to the product Basketball. The product ID of the product basketball is 17, and the product ID of the product Net is 18.

Steps to be done:

  • Navigate to the J2Commerce (or J2Store cart) tab and add the child product in the upsell or crosssell field of the relations tab

  • Navigate to the product article of the Basketball > J2Commerce (or J2Store cart) tab > Copy the shortcode {j2store}17|cart{/j2store}

  • Paste it in the content part and copy the shortcode for displaying the cross-sell and upsell product, and paste it in the content part of the parent product. The shortcode to be copied is {j2store}17|upsells|crosssells{/j2store}

  • Navigate to the article of the related product > J2Commerce (or J2Store cart) tab > copy the shortcode to display the product’s add to cart {j2store}18|cart{/j2store}

  • Paste the shortcode in the content tab

Frontend display

VERY IMPORTANT NOTE: The above approach would work only if you have all of your products displayed in the Joomla article view and not in the J2Commerce list or tag view layout.

You will have to insert the add to cart shortcodes for the other products, if not the add to cart button wouldn’t show up.

PreviousVendorsNextOrdering products on your storefront

Last updated 5 days ago

Adding related products to Product
Menu settings
Frontend view
Related product module settings
Module assignment
Position assignment
Related product module frontend

The related products in the article view have to be done with the help of

Shortcodes
Cart shortcode
Item view settings
Item view settings
Parent product on frontend
Front view
shortcodes.