Pro Adding a Sticky Add to Cart Box

Would you like to keep the add to cart button in view as shoppers scroll a product page? Botiga Pro adds a Sticky Add to Cart feature that shows a fixed add to cart box in your store.

In this guide, we’ll walk you through how to add a sticky add to cart box in Botiga.

Before you get started, make sure you’ve installed and activated the Botiga theme on your WordPress site. If you’re using features from Botiga Pro, ensure that both the Botiga theme and the Botiga Pro plugin are installed and active. Sticky Add to Cart is a Botiga Pro feature, so this requires Botiga Pro.

1. Enable the module

The Sticky Add to Cart feature is a Botiga Pro module. To start using it, go to Botiga » Theme Dashboard in your WordPress admin area.

Next, find Sticky Add to Cart under Do more with Botiga Pro and click Activate.

Sticky Add to Cart module card with the Activate link on the Botiga Theme Dashboard

2. Configure the settings in the Customizer

Once the module is enabled, find the customization options in Appearance » Customize » Single Product » Sticky Add To Cart.

Sticky Add To Cart settings in the Botiga Customizer with the Dining category excluded

The following options are available:

  1. Position: Show the box at the top or bottom of the screen.
  2. Elements: Show or hide the individual elements of the add to cart area.
  3. Elements Spacing: Sets the horizontal spacing between elements in pixels.
  4. Hide When Scroll To Top: Hides the box while the shopper scrolls up the page.
  5. Allow Third Party Plugins Content: Controls whether third-party plugins can add content to the box.
  6. Visibility: Shows the box only on selected devices. The options are Show on all devices, Desktop only (the default), and Mobile/tablet only.
  7. Exclude Categories: Hides the box on products in the categories you pick here, including their subcategories. You can still show the box on a single product from that product’s own settings.

3. Show or hide the box on a single product

To show or hide the box on one product, go to Products » All Products and edit the product.

Next, scroll down to the Botiga Product Options box and click the Sticky Add To Cart tab.

Then choose an option from the Visibility dropdown and click Update.

Sticky Add To Cart tab in Botiga Product Options with Visibility set to Show
  • Default: Follows your Customizer settings, including Exclude Categories.
  • Show: Shows the box on this product, even when it belongs to an excluded category.
  • Hide: Hides the box on this product.

Frequently asked questions

Below, we’ve answered some of the most common questions about the sticky add to cart box in Botiga.

Why doesn’t the sticky add to cart box show on some of my products?

Check 3 things. First, the product may belong to a category listed under Exclude Categories, or to a subcategory of one. Second, the product’s own Visibility setting may be set to Hide. Third, the Visibility option in the Customizer may limit the box to desktop or to mobile and tablet.

Does the sticky add to cart box show on password-protected products?

No. The box stays hidden on a password-protected product until the shopper enters the password.

That’s it! You’ve successfully added a sticky add to cart box in Botiga.

Next, would you like to streamline the rest of the buying flow? Check out our guide on the Advanced Reviews feature to learn more.

image_print