Skip to main content
@Drupal4Uorg
Drupal4U
Drupal 4U
Drupal Resources
Search form
Home
Drupal Themes
Modules
Tips and Tricks
Howtos
Books
About
Contact
Home
//
How to hide an empty shopping cart with drupal commerce
How to hide an empty shopping cart with drupal commerce
Find the "Shopping cart block" view
Create a new block display
Edit the"Commerce Order:Order ID" contextual filter
Set it to Provide default value > Type = Current user's cart order ID
Then use that new block you have just created in your site. It will not show if the cart is empty
Taxonomy:
Modules
Drupal themes to be compared
Best Drupal one page themes
more
Themes
The best one page scrolling parallax themes for Drupal 8 and 7 (2018)
Popoular Drupal 8 Themes
more
Creative/Portfolio
Alpine - A Responsive One Page Parallax Drupal 8 and 7 Theme
more
Portal/WebService
News+: A powerful Drupal theme to power your news/portal site
more
Corporate
Corporate+: The ultimate, mobile-friendly theme designed to spotlight your business.
more
Retail
Porto: Ultimate Responsive and multipurpose Drupal 7 & 8 Theme