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
Forum Search
Google Site Search
Author    Topic »  

Six Robblees
Starting Member

26 Posts

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

Vince
Administrator

43340 Posts

Posted - 04/03/2026 :  03:11:25  
Hi Six Robblees
But couldn't you just use 1 custom function and in that function pull the information you need from the 23 stores?
quote:
Is it possible to expand this?
If you mean like, is it possible to have 23 custom functions then it's not I'm afraid.

Vince

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