WT JShopping Cart

WT JShopping Cart

Downloads 6319 Hits 6947 CTR 91% Mod Free

Shopping cart module for Joomla 4, Joomla 5 and JoomShopping 5. Made on Bootstrap 5.

WT JShopping Cart

Description

The shopping cart module for the JoomShopping 5 and Joomla 4 online store has 6 output layouts:

  • default - standard output of the JoomShopping bucket. Not related to Bootstrap at all.
  • bootstrap5-icon - displays the cart module as a link-button with the basket icon and the quantity of goods in the form of a badge. It is convenient to place such a module in the header of the site or the mobile version of the site in the lower or upper panels.
  • bootstrap5-icon-and-text is a link-button similar to bootstrap5-icon, but with the word "basket" and the amount of goods in the basket.
  • bootstrap5-list-group - the bucket module is output as of the Bootstrap 5 List group component. It can be placed in the right or left columns of the site. In this layout, you can display the attributes of the goods, the weight of the goods.
  • bootstrap5-offcanvas -the bucket module is output as Bootstrap 5 Offcanvas component - floating to the right or panel on the left. This is essentially a bootstrap5-list-group layout wrapped in an Offcanvas component.In this layout, you can display the attributes of the goods, the weight of the goods.
  • bootstrap5-icon-btn - this layout is a copy of the bootstrap5-icon layout with the following changes: the module is output not by a link (tag ), but by a button (tag <button>). Learn more about goals and settings below.

Configuring the module using Bootstrap 5 Offcanvas

You want to display the basket as a panel floating out from the edge of the screen. According to Bootstrap 5.2 documentation to open or hide this panel, you need a toggler button (switch). It can be either a link (tag <a>) or a button (tag <button>).You can create such a button yourself in an HTML code type module and place it in the right place, or create a menu item with the necessary attributes. 

However, if you would like to show the number of products near the basket icon and at the same time use it to open the basket module in Offcanvas - use the layoutbootstrap5-icon-btn.

You create 2 modules with different layouts: one with the layout bootstrap5-offcanvas (you need to remember its ID), the second with the layout bootstrap5-icon-btn. In the settings of the second module, you need to specify the parameter"ID of the module with the offcanvas layout", so that when you click on the button with the basket, the first offcanvas module appears.This parameter is used to set the data-bs-target attribute of the button.

A module with the bootstrap5-offcanvas layout is recommended to be published in the debug position or similar so that the content of the module has the body tag as the parent element. This is due to the peculiarities of the CSS property z-index.

Setting up links to the cart and checkout

In order for the links to the shopping cart and JoomShopping checkout in the module to be "beautiful", you should create menu items of both types. Usually they are made hidden - this is in the settings of the menu item.

Joomla

Extension type:
Module
Location:
Site
Joomla version:
4.0, 4.1, 4.2, 4.3.3, , 5.1.0, 5.2.1

What's new

Addition

Ajax removal and increase/decrease the number of JoomShopping products

The bootstrap5-offcanvas layout has added buttons for deleting products and increasing/decreasing the number of products by ajax (without reloading the page). At the same time, the quantity of goods in all modules of the page, including icons, changes. If the module is used on the JoomShopping shopping cart page, then the contents of the main page are also updated using ajax.

WebTolk Joomla Extensions

89 Extensions
11 Categories
391 Versions released
379347 Downloads
Cart
Cart is empty