Theme edits
Learn how Discount Ninja complements your theme to help merchants to promote offers.
Last updated
Learn how Discount Ninja complements your theme to help merchants to promote offers.
Last updated
Discount Ninja offers two extension mechanisms to display widgets and show strikethrough pricing:
Theme extensions: add widgets using App blocks
Custom code edits: edit the code of the theme to indicate placeholders for widgets and/or mark where prices are displayed.
The app uses theme extensions to extend the functionality of the online store. Specifically, App embeds are used to add scripts. App blocks are used to include widgets on the storefront. Alternatively, users can choose to add custom code to add widgets.
The following table explains the advantages of each approach:
App blocks | Code edits | |
---|---|---|
Read more about the available App blocks here.
Read more about how to edit theme code here.
Available on stores that do not have an Online Store 2.0 theme?
No
Yes
Requires manually cleaning up code in the theme after uninstalling the app?
No
Yes
Maximum flexibility to position each widget?
No
Yes
Optimal performance?
Yes
Yes
Available for each widget?
No
Yes