Product Grid

The Product Grid widget displays a selection of products (e.g., featured, new, best sellers) in a responsive grid layout. You can choose a predefined miniature style or customize the layout of individual product elements, control the number of columns, and style the overall grid appearance and product boxes.

Content tab

Configure the product source, miniature style, element visibility, and grid layout.

Product Grid widget Content tab - Product Listing

Product Grid

Miniature

Select a predefined product miniature style from your theme, or choose 'Custom' to build your own layout for each product in the grid.

Title

Enter an optional main title to display above the product grid.

Display (Title)

Adjust the predefined size display for the main title (Small, Medium, Large, etc.).

HTML Tag (Title)

Select the appropriate HTML tag (H1-H6, div, span, p) for the main title.

Listing

Choose the source of products: Featured, Prices Drop, New, Best Sellers, Related, Recently Viewed, by Brand, by Supplier, or Custom Products.

Products (Custom Listing)

Add specific products to the grid when 'Listing' is set to 'Custom Products'.

Product (Related Listing)

Select a product to show its related items if 'Listing' is 'Related Products' (defaults to current product if on a product page).

Category (Category Listing)

Select a category to display its products, or show current/default category products.

Brand (Brand Listing)

Select a brand to display its products, or show products from the current product's brand.

Supplier (Supplier Listing)

Select a supplier to display its products, or show products from the current product's supplier.

Order By

Set the sorting criteria for products (e.g., Name, Price, Popularity).

Order Direction

Choose the sorting direction: Ascending or Descending.

Randomize

Enable to display products in a random order for applicable listing types.

Out-of-Stock (Custom Listing)

Choose whether to show or hide out-of-stock products when using 'Custom Products' listing.

Product Limit

Set the maximum number of products to display in the grid (not applicable for 'Custom Products' listing).

Columns

Set the number of columns for the product grid on different devices.

Product Grid widget Content tab - Custom Elements

Define which elements appear within each product miniature when 'Miniature' is 'Custom'.

Content Elements (Custom Miniature)

Image Size

Select the predefined image size for product images in custom miniatures.

Second Image

Enable to show the second product image on hover (if available).

Category

Toggle the visibility of the product's category name.

Description

Toggle the visibility of the product's short description.

Max. Length (Description)

Set the maximum character length for the short description.

Regular price

Toggle the visibility of the regular price when a product is on sale.

Add to Cart (Visibility)

Toggle the general visibility of the Add to Cart button element.

Quick View (Visibility)

Toggle the general visibility of the Quick View button element.

Product Name (Custom Miniature)

Display

Adjust the predefined size display for the product name.

HTML Tag

Select the HTML tag for the product name.

Badges (Custom Miniature)

Badges

Select which product flags (Sale, New, etc.) to display.

Sale Text

Customize the 'Sale' badge text.

New Text

Customize the 'New' badge text.

Pack Text

Customize the 'Pack' badge text.

Out-of-Stock Text

Customize the 'Out-of-Stock' badge text.

Online only Text

Customize the 'Online only' badge text.

Product Grid widget Content tab - Custom Add to Cart

Configure the Add to Cart button when 'Miniature' is 'Custom' and its visibility is enabled.

Add to Cart Button (Custom Miniature)

Type

Select a predefined style theme (Default, Primary, Secondary) for the Add to Cart button.

Text

Set the text displayed on the Add to Cart button.

Alignment

Align the Add to Cart button horizontally (Left, Center, Right, Justified).

Size

Adjust the size of the Add to Cart button (XS to XL).

Icon

Choose an icon to display within the Add to Cart button.

Icon Position

Set the icon's placement (Before or After) relative to the Add to Cart button text.

Icon Spacing

Define the spacing between the icon and text within the Add to Cart button.

Product Grid widget Content tab - Custom Quick View

Configure the Quick View button when 'Miniature' is 'Custom' and its visibility is enabled.

Quick View Button (Custom Miniature)

Text

Set the text displayed on the Quick View button/link.

Icon

Choose an icon to display within the Quick View button.

Icon Position

Set the icon's placement (Before or After) relative to the Quick View button text.

Icon Spacing

Define the spacing between the icon and text within the Quick View button.

Style tab

Customize the appearance of the title, product boxes, custom miniature elements, and grid layout.

Product Grid widget Style tab - Title

Styles apply if a Title is entered in the Content tab.

Title

Spacing

Adjust the space below the main title.

Alignment

Align the main title horizontally.

Text Color

Set the color of the main title text.

Typography

Control the font settings for the main title.

Text Stroke

Apply an outline effect to the main title text.

Text Shadow

Apply a shadow effect to the main title text.

Product Grid widget Style tab - Product Box

Product Box Container

Columns Gap

Adjust the horizontal spacing between product boxes in the grid.

Rows Gap

Adjust the vertical spacing between product boxes in the grid.

Padding

Define the inner spacing within each product box.

Border Width

Control the thickness of the border around each product box.

Border Radius

Adjust the roundness of the corners for each product box.

Border Color (Normal & Hover)

Set the border color for product boxes in default and hovered states.

Background Color (Normal & Hover - Custom Miniature)

Define the background color for product boxes in default and hovered states (applies to 'Custom' miniature).

Box Shadow (Normal & Hover)

Apply a shadow effect to product boxes in default and hovered states.

Product Grid widget Style tab - Custom Image

Styles apply to the Image element when 'Miniature' is set to 'Custom'.

Image (Custom Miniature)

Width

Set the width of the product image.

Border

Define the border type, width, and color for the product image.

Border Radius

Adjust the roundness of the product image corners.

Hover Animation

Apply an animation effect to the product image on hover.

Product Grid widget Style tab - Custom Content

Styles apply to text elements when 'Miniature' is set to 'Custom'.

Content Area (Custom Miniature)

Alignment

Align text content (Name, Category, Description, Price) horizontally.

Padding

Control inner spacing around the content area.

Min Height

Set a minimum height for the content area.

Name (Custom Miniature)
Spacing (Name)

Adjust space above the product name.

Allow Multiline (Name)

Permit the product name to wrap to multiple lines.

Color (Name)

Set the product name text color.

Typography (Name)

Define font settings for the product name.

Category (Custom Miniature)
Spacing (Category)

Adjust space above the category name.

Allow Multiline (Category)

Permit the category name to wrap to multiple lines.

Color (Category)

Set the category name text color.

Typography (Category)

Define font settings for the category name.

Description (Custom Miniature)
Spacing (Description)

Adjust space above the product description.

Max Lines (Description)

Limit the description to a maximum number of lines.

Color (Description)

Set the product description text color.

Typography (Description)

Define font settings for the product description.

Price (Custom Miniature)
Spacing (Price)

Adjust space above the price area.

Color (Price)

Set the current product price text color.

Typography (Price)

Define font settings for price text.

Regular Price (Custom Miniature)
Color (Regular Price)

Set text color for the regular (strikethrough) price.

Size (Regular Price)

Adjust font size for the regular price text.

Product Grid widget Style tab - Custom Add to Cart

Styles apply to the Add to Cart button when 'Miniature' is 'Custom'.

Add to Cart (Custom Miniature)

Spacing

Adjust space above the Add to Cart button.

Typography

Define font settings for the button text.

Text Color (Normal, Hover & Disabled)

Set text color for the button in normal, hover, and disabled states.

Background Color (Normal, Hover & Disabled)

Set background color for the button in normal, hover, and disabled states.

Border Color (Normal, Hover & Disabled)

Set border color for the button in normal, hover, and disabled states.

Cursor (Disabled)

Choose mouse cursor style for a disabled button.

Border Width

Control the button's border thickness.

Border Radius

Adjust roundness of the button's corners.

Product Grid widget Style tab - Custom Quick View

Styles apply to the Quick View button when 'Miniature' is 'Custom'.

Quick View (Custom Miniature)

Typography

Define font settings for the Quick View button text.

Text Color (Normal & Hover)

Set text color for the button in normal and hover states.

Background Color (Normal & Hover)

Set background color for the button in normal and hover states.

Border Color (Normal & Hover)

Set border color for the button in normal and hover states.

Border Width

Control the button's border thickness.

Border Radius

Adjust roundness of the button's corners.

Product Grid widget Style tab - Custom Badges

Styles apply to product badges when 'Miniature' is 'Custom'.

Badges (Custom Miniature)

Top Distance

Adjust vertical offset of badges.

Left Distance

Adjust horizontal offset for badges on the left.

Right Distance

Adjust horizontal offset for badges on the right.

Spacing

Control vertical space between multiple badges.

Min Width

Set a minimum width for badges.

Padding

Define inner spacing within badges.

Border Radius

Adjust roundness of badge corners.

Typography

Define font settings for badge text.

Advanced tab

Access advanced layout, motion, and custom CSS options.

Advanced Tab Layout
Margin

Define the external space around the widget for separation from adjacent elements.

Padding

Set the internal spacing within the widget to control the arrangement of its content.

Width

Specify the widget's width behavior: Full Width, Inline, Custom, or Calculate.

Full width
  • Vertical align: Set the vertical alignment to start, center, end, or stretch.
  • Size: Define the size as none, grow, or custom to determine widget dimensions.
Inline
  • Vertical align: Set the vertical alignment to start, center, end, or stretch.
  • Size: Define the size as none, grow, or custom to determine widget dimensions.
Custom
  • Custom Width: Set the width in pixels, percentage, or viewport width (vw).
  • Vertical align: Set the vertical alignment to start, center, end, or stretch.
  • Size: Define the size as none, grow, or custom to determine widget dimensions.
Calculate
  • Calc: Use calculations like 100% - 20px to dynamically define the width.
  • Min Width: Set a minimum width in pixels, percentage, or viewport width (vw).
  • Vertical align: Set the vertical alignment to start, center, end, or stretch.
  • Size: Define the size as none, grow, or custom to determine widget dimensions.
Order

Control the widget's order using start, end, or custom values.

Position

Choose default, absolute or fixed positioning for the widget.

Absolute
  • Horizontal Orientation: Determines the element's horizontal alignment within its nearest positioned ancestor.
  • Offset: Specifies the distance between the element and the left or right edge of its containing block.
  • Vertical Orientation: Sets the element's vertical alignment within its nearest positioned ancestor.
  • Offset: Defines the space between the element and the top or bottom edge of its containing block.
Fixed
  • Horizontal Orientation: Controls the element's horizontal alignment relative to the browser window.
  • Offset: Adjusts the distance between the element and the left or right edge of the viewport.
  • Vertical Orientation: Manages the element's vertical alignment relative to the browser window.
  • Offset: Defines the space between the element and the top or bottom edge of the viewport.
Z-index

Set the stacking order of the widget relative to other elements.

CSS ID

Assign a unique CSS ID for custom styling or interaction.

CSS Classes

Add custom CSS classes for targeted styling via external stylesheets.

Element Cache

Improves loading times by storing a static version of this element.

Advanced Tab Motion Effects
Scrolling Effects

Enhance elements with various dynamic effects triggered by the user's scrolling behavior.

  • Vertical Scroll: Configure the scroll direction, speed, and viewport range for vertical scrolling effects.
  • Horizontal Scroll: Set the scroll direction, speed, and viewport range for horizontal scrolling effects.
  • Transparency: Adjust the transparency based on the direction, level, and viewport range.
  • Blur: Apply a blur effect with customizable direction, level, and viewport range.
  • Rotate: Rotate the element using direction, speed, and viewport settings.
  • Scale: Scale the element with direction, speed, and viewport controls.
  • Apply Effects on: Choose whether to apply scrolling effects on desktop, tablet, or mobile devices.
  • Effects Relative to: Define whether the effects are relative to the default container, the viewport, or the entire page.
Mouse Effects

Enable mouse based effects for added interactivity.

  • Mouse Track: Adjust the direction and speed of the effect as the user moves the mouse across the page.
  • 3D Tilt: Enable 3D tilt effects with controllable direction and speed for a more immersive experience.
Sticky Effects

Fix elements at the top or bottom of the viewport as the user scrolls for persistent visibility.

  • Sticky on: Apply sticky effects on desktop, tablet, or mobile devices.
  • Offset: Set the offset in pixels to trigger the sticky effect after scrolling.
  • Dynamic Offset: Use a CSS selector to dynamically set the offset based on other elements on the page.
  • Effects Offset: Configure the pixel offset to control when additional effects apply.
  • Stay in Column: Choose whether the sticky element remains within its column during scrolling (yes or no).
  • Hide on Scroll: Set the offset and transition duration for hiding the sticky element when scrolling down.
Entrance Animation

Apply predefined animations to elements when they appear on screen.

  • Fading: Elements gradually fade in or out of view.
  • Revealing: Create smooth reveal effects as elements come into view.
  • Sliding & Revealing: Combine sliding motion with reveal effects.
  • Scaling & Revealing: Adjust the size of elements as they are revealed.
  • Zooming: Apply zoom in or out effects during element appearance.
  • Bouncing: Elements enter with a bouncing motion for attention-grabbing effects.
  • Sliding: Elements slide into view from different directions.
  • Rotating: Apply rotation effects as elements enter or leave the viewport.
  • Attention Seekers: Highlight elements with exaggerated, noticeable animations.
  • Specials: Unique animations for elements that require special effects.
Advanced Tab Transform
Opacity

Adjust the transparency level of the element to create fade effects during normal or hover states.

Rotate

Rotate the element along the X, Y, or Z axes for dynamic visual effects. Use deg (degrees) values or apply 3D rotation.

Offset

Shift the position of the element horizontally (X-axis) or vertically (Y-axis) to control its exact placement within the layout.

Scale

Resize the element, with the option to keep proportions (yes or no) and adjust the scale factor to enlarge or shrink the element.

Skew

Skew the element along the X and Y axes to tilt its appearance.

Flip Horizontal/Vertical

Flip the element horizontally or vertically by selecting the anchor points (X: left, center, right; Y: top, center, bottom) for precise control over the flip transformation.

Trigger by (On hover)

Choose whether the hover transformation is triggered by interaction with the widget, column, or section.

Transition Duration (On hover)

Set the time duration in milliseconds that the hover transition effect takes to complete.

Transition Delay (On hover)

Specify a delay in milliseconds before the hover transition effect begins.

Advanced Tab Background
Background Type

Select the background type: None, Classic, or Gradient.

Classic
Color
Set a solid background color to provide a consistent base for your design.
Image
Upload an image to use as the background. Additional settings include:
  • Loading: Choose whether to load the background image lazily or immediately.
  • Position: Define the image's position within the background (e.g., center, top-left).
  • Attachment: Set the background image to scroll with the page or remain fixed.
  • Repeat: Determine if the image repeats or stays single across the background area.
  • Size: Control the size of the background image, such as cover, contain, or custom dimensions.
Backdrop Filters
Apply visual filters to the background, such as blur, brightness, or contrast, enhancing its appearance.
Transition Duration (On hover)
Set the time duration in milliseconds that the hover transition effect takes to complete.
Gradient
Color
Select the primary color for the gradient background.
Location
Define the starting position of the primary color in the gradient effect.
Second Color
Select the secondary color to blend into the gradient.
Location
Set the starting point of the secondary color within the gradient.
Angle
Adjust the angle at which the gradient flows (e.g., horizontal, vertical, diagonal).
Backdrop Filters
Apply visual filters to the gradient background for added depth and effects.
Transition Duration (On hover)
Set the time duration in milliseconds that the hover transition effect takes to complete.

Advanced Tab Border
Border Type

Define the border style of the element.

Border Width

Set the thickness of the element's border.

Border Color

Define the color of the element's border.

Border Radius

Adjust the corner roundness of the element.

Box Shadow

Apply shadow effects to add depth to the element.

Advanced Tab Visibility
Responsive Visibility

Control the display of elements across different devices by selectively hiding them on desktop, tablet, or mobile.

Scheduled Visibility

Set the section's visibility based on specific schedules.

Customer Group Visibility

Control section visibility based on customer groups.

Advanced Tab Custom CSS
Custom CSS

Apply custom CSS to style the widget beyond the default settings.

Note: This requires CSS knowledge—use carefully, as incorrect syntax can impact other areas of the site.

/* For main element */
selector { 
  color: red; 
}

/* For child element */
selector .child-element { 
  margin: 10px; 
}

/* Or use any custom selector */
.my-class { 
  text-align: center; 
}

If you want to learn the basics of CSS, W3Schools is a great resource for that.

© WebshopWorks - Professional PrestaShop Addons