Posted - 04/02/2026 : 22:46:41
Up to 6 Custom Functions can now be included in your product and detail page layouts. For example... detailpagelayout="navigation,productimage,reviewstarslarge,productname,ectcustomfunction1,ectcustomfunction3,price" $detailpagelayout="navigation,productimage,reviewstarslarge,productname,ectcustomfunction1,ectcustomfunction3,price"; You would then need to define the custom functions used (with the same name as the custom function layout parameter.) ' ASP Version sub ectcustomfunction1(custprodid,isdetail) response.write "<div class=""myclass"">This is my custom function for product id: " & custprodid & "</div>" end sub // PHP Version function ectcustomfunction1($custprodid,$isdetail){ print '<div class="myclass">This is my custom function for product id: ' . $custprodid . '</div>'; } The original need for this came from a customer who wanted to show stock from 3 different web stores and using custom functions it was possible to pull information from other databases into the product layout. But there could be many, many applications for this powerful idea.
Is it possible to expand this? We have 23 stores stretching across 7 states and 14 route trucks that all have available inventory to pull from. This would be helpfull if expandable as part of the pickup in store feature for localaized shopping
|