Add Salepop App Blocks
App Blocks are required to display specific widgets (such as the Visitor Counter) on your storefront. Because they are modular blocks, you can flexibly drag and drop them exactly where you want them to appear on your pages without modifying your theme code.
There are two ways to add an App Block to your store: directly from the Salepop app or manually via the Shopify Theme Editor.
1. From the Salepop App
This is the fastest method. Clicking the setup button from our app will automatically open your Theme Editor and insert the block for you.
- Step 1: On the Salepop Homepage, locate the App blocks and theme app embed section.
- Step 2: Under App block status, click the Add app block button. You will be redirected to the Theme Editor for your relevant page template (e.g., Default Product page).
- Step 3: In the left sidebar of the Theme Editor, locate the newly added Visitor Counter block (with the Salepop icon) under Product information.
- Step 4: Click and drag the block's handle (
⋮⋮) to reposition it to your desired location. - Step 5: Click Save in the top right corner to publish your changes.
- Step 6: Return to the Salepop app and click Verify status. Once verified, the status indicator will change to Enabled.
2. Manually from the Shopify Theme Editor
If you are already working inside your Shopify Theme Editor, you can manually add the block without returning to the app.
- Step 1: From your Shopify Admin, navigate to Online Store > Themes.
- Step 2: Click Customize on your active theme.
- Step 3: Use the page selector dropdown at the top to navigate to the page where you want to add the widget (e.g., Products > Default product).
- Step 4: In the left sidebar, under the relevant section (such as Product Information), click + Add block.
- Step 5: Scroll down to the Apps category and select the Visitor Counter block.
- Step 6: Click and drag the block's handle (
⋮⋮) to move it to your preferred location. - Step 7: Click Save in the top right corner.
If your store uses multiple product templates, make sure the Visitor Counter block is added to the template assigned to each product where you want the Visitor Counter to appear.
Need help?
If you experience any issues placing app blocks or customizing your theme, feel free to contact our support team at [email protected].