Rate this item

It's time to create new or re-design your websites to bring it to the next level.

Download 100+ Free Joomla! templates Download 100+ Free WordPress themes

These shortcodes will be used for Joomla Article layouts, since Joomla layouts cannot be managed by J2store. Joomla has developed and maintained these shortcodes.

While Product pages/product list layout are supposed to display product and being maintained by J2store, they already has had PHP code in the view files for displaying elements and products.

But, Core Joomla layouts and article layouts don’t. Therefore, we need the shortcode for Joomla layouts. These shortcodes will not work in product layouts of J2store.

Notice: If you add more shortcodes to J2store pages (processed in the products), it will result in force the processing/invoking J2store and performance issues.

Additional shortcodes

Beside the primary shortcode, you are also possible to use these additional codes inside {j2store}{/j2store}, every code should be divided by a | symbol

To place this shortcode, please remember to change Add to placement mode by going to J2store > Configuration > Cart tab > set Add to cart placement as Both or Within article using tag, then Save the changes.

For example:

{j2store}xx|upsells|crosssells{/j2store}

It will work in all place modes of Add to cart. Notice to use these codes carefully for improving performance.

Available shortcodes list and their description

cart – full cart with options, price and button add to cart {j2store}XX|cart{/j2store}

Price – Show both often price and selling price{j2store}XX|price{/j2store}

Saleprice – Only for the selling price{j2store}XX|saleprice{/j2store}

Regularprice  – Show only the regular price{j2store}XX|regularprice{/j2store}

Thumbnail – Show added thumbnail through the j2store cart -> images tab{j2store}XX|thumbnail{/j2store}

Mainimage – Show added main image through j2store cart -> images tab{j2store}XX|mainimage{/j2store}

Mainadditional –  Show both additional and main images added through j2store cart -> images tab{j2store}XX|mainadditional{/j2store}

 

Upsells – Display product up-selling {j2store}XX|upsells{/j2store}

Crosssells – Display product cross selling {j2store}XX|crosssells{/j2store}

Example

{j2store}1|thumbnail|cart{/j2store}

That’s it! If you have any question, please feel free to let us know by leaving a comment below, or sending us a ticket here, we will reply as soon as possible!

Image Credit: J2store

Looking for a free Landing Pages template to start creating your stunning website?

90+ Landing Styles (Onepage) for Joomla! 80+ Landing Styles (Onepage) for WordPress

flashdeal-50

eskişehir escort izmit Escort bursa escort bayan ankara escort bayan van escort bayan elazığ escort bayan erzurum escort bayan
[Flash Sale!] 25% OFF for Everything! Save DEV time with PRO versions or Join Template Club now! Read More & Get Coupon Code!
[Flash Deal - 24 Hours!] Grab 50% OFF for your PRO License / Membership Get Coupon Code!