Product-Tag filter toggle
If you like to have a Product-Tag filter, where the selection toggles so that there's always one filter selected at one time, add the following JavaScript:
jQuery('.products-list-filter input[type=\'checkbox\']').on('change', function() {
var checkbox = jQuery(this);
if(checkbox.prop('checked')) {
jQuery.each(jQuery('.products-list-filter input[type=\'checkbox\']'), function() {
var tempCheckbox = jQuery(this);
if(tempCheckbox.attr('name') !== checkbox.attr('name')) {
tempCheckbox.prop('checked', false).trigger('change', false);
}
});
}
});
Documentation
TYPO3 Shop by coding.ms
An extensive shop for TYPO3 for realizing Webshops, Online-Shops or Payment-Subscriptions, comparable with tt_products, Cart or Aimeos. It includes PayPal, PayPal-Checkout, Klarna, Stripe, Bookmarks, UPS-API, invoice generation, a backend module, compare feature, graduated prices, plus product variants, filters, and tax and shipping logic for practical shop operations.
Menu
- Introduction
- Installation
-
Configuration
- Constants
- Plugins
- Authorizations
- Base Prices
- Bookmarks and Compare
- Customer Messages
- Delivery Address
- Discount
- Extension Settings
- Graduated Prices
- Human Readable URLs
- Import
- Invoices
- JavaScript
- Link Handler
- List Filter
- Mail Templates
- Manual Basket Order Creation
- Product Types
- Shipping Costs
- Sitemap XML
- Stock
- Subscriptions
- Tax Rates
- Ups Shipping
- BasketCheckout
- Commands
- Templates
- HowTo
- AddOn: Coupon
- AddOn: Export
- AddOn: Import
- AddOn: Shipping
- Developer