Miva Merchant SEO, eCommerce, Miva Modules, Custom Web Apps, and Miva Merchant troubleshooting.

Miva Merchant & Miva Script News

Wordpress style shortcodes to help with common tasks.

Examples & How To's

If you're familiar with WordPress, you've probably heard of shortcodes. These give you an easy way to put various kinds of information in your post.

All shortcodes can start with scotsblogger or sb. 

display link to an article

[sb post some-article-slug link]

display various article data

[sb post some-article-slug title]

display example MVT item in a blog post without having it render

[sb mvt:store:code]

Same for MVTE and other encoded items:

[sb mvte:store:code]

[sb mvta:store:code]

[sb mvtj:store:code]

[sb mvts:store:code]

display a tab (indent)

[sb tab]

display a line break (br)

[sb br]

display font awesome icon

[sb fa icon-class]

Example: [sb fa fa-eye fa-2x]

product data: insert product data into post
Use any normal product variable -custom fields are not yet supported
name, price, formatted_price, header, footer, etc... (header/footer support
in v2.2.2)

[sb product product_code name|price|descrip|etc]

Such as: [sb product product_code name]

category data: (v2.2.2) insert category data into post
Use any normal category variable -custom fields are not yet supported
name, header, footer, etc...

[sb category category_code name|header|etc]

Such as: [sb category modules name]

display a managed link

[sb link link_code]

overall rating:
my rating: log in to rate

Please log in to leave a comment.

The blog posts on Scot's Scripts are served by Scot's Blogger, a Miva Merchant blogging module that makes it easy to create a Wordpress style blog, rich content, and extra pages in your Miva Merchant store.