Articles on: Online store
This article is also available in:

Add Power Up Scripts to optimize your store

Power Up Script are scripts using JavaScript or CSS code that helps you with store optimization (for example: add Countdown widgets and testimonials to the checkout page, product reviews to product pages). In this article, we will guide you on how to add Power Up Scripts to optimize your online store.

In this article



A. Add Power Up Scripts to homepage and product pages
B. Add Power Up Scripts to checkout page

A. Add Power Up Scripts to homepage and product pages



Here are some Power Up Scripts ShopBase provides that you can refer to:

Block or allow certain countries to access the store
Block traffic from spy tools to your site
Add custom notices to the product page
Add Facebook Live Chat to your store

If you are using Website Builder



Copy your Power Up Scripts code.

From ShopBase admin, go to Online Store > Design > Customize.


Go to Settings > General and paste the copied code in the Head or Body section in Additional scripts.


The code added will only be work on the storefront, not in the Website Builder's editor.

If you are using Theme Editor



Copy your Power Up Scripts code.

From ShopBase admin, go to Online Store > Preferences.


In Additional scripts, Head or Body section, you enter the code copied from step 1 as below.


Click Save.

B. Add Power Up Scripts to checkout page



Power Up Scripts to checkout page are functional exclusively within Theme Editor, not in Website Builder.

Here are some Power Up Scripts ShopBase provides that you can refer to:

Add PayPal Guest Checkout in checkout page
Add a countdown timer and reliable information to the checkout page

Copy Power Up Scripts code.

From your ShopBase admin, go to Online store > Design and click Customize next to your current theme.


Click on the dropdown menu and select Checkout page.


Select Custom scripts section.


Add your script to the Custom javascript code section.


Click Save.


Block or allow certain countries to access the store
Block traffic from spyware to your site
Add custom announcement to the product page
Add Facebook Live Chat to your store

Updated on: 18/01/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!