Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?


Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site

 All Forums
 General
 Off topic, News and Updates
 New layout feature for v7.2
 New Topic  Reply to Topic
 Printer Friendly
Author  Topic   

Vince
Administrator

Spain
39656 Posts

Posted - 05/11/2020 :  03:29:34  
There is a small, but I think quite important addition for v7.2 where you now have the ability to add HTML tags to the different layout descriptions. For example, where previously you could set a detail page layout such as...

detailpagelayout="productname, productimage, description, options, listprice, discounts, price, addtocart, checkoutbutton, previousnext"
$detailpagelayout='productname, productimage, description, options, listprice, discounts, price, addtocart, checkoutbutton, previousnext';

...you can add tags to "group" page elements like this...

detailpagelayout="productname,<div class=""myclass"">,productimage, description, options, listprice,</div>,discounts, price, addtocart, checkoutbutton, previousnext"
$detailpagelayout='productname,<div class="myclass">,productimage, description, options, listprice,</div>,discounts, price, addtocart, checkoutbutton, previousnext';

Most things can be achieved with CSS but this will help with those situations where a container is required for a particular layout. Also, this can be used for purely stylistic effects such as grouping page elements with a border for instance.

This can be used with all the existing page layouts such as productpagelayout, detailpagelayout, quickbuylayout and also with the new categorypagelayout, which can have the following elements.

categorypagelayout="catimage,catname,discounts,description"
$categorypagelayout="catimage,catname,discounts,description";

You can use any tag with this new feature, for instance <div>, <span>, <img> etc but it must be a tag, and this will still produce a warning about the element xxxxxx

categorypagelayout="catimage,xxxxxx,discounts,description"
$categorypagelayout="catimage,xxxxxx,discounts,description";

This feature will not be officially included until v7.2.3 but as it does not affect existing layouts we've added an advanced version to the v7.2.2 updater here...
https://www.ecommercetemplates.com/updaters.asp

Vince


Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater
   Topic   
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2020 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000