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.

by
Scot's Blogger


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 items:

[sb mvte:store:code]

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]


(4/5, 7 votes) my rating:
overall rating:

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.