View Single Post
  #3 (permalink)  
Old 13-12-2008, 08:22 AM
DerManoMann DerManoMann is offline
Member
 
Join Date: Nov 2008
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default ZenMagick - zen-cart mod, alternative templating and API

Quote:
Originally Posted by AnyOldCard View Post
Thanks Martin, I'll check it out.

I was wondering if you are using the, "purchase without account mod" in your demo?
No, this is part of ZenMagick itself. There is support for a number of popular zen-cart mods (that are storefront related) and admin mods usually all work like on any other plain zen-cart setup, though.

I'd also like to point out that the storefront replacement (MVC, templates, validation framework, etc) is optional (even though it is the default). It is absolutely possible to use ZenMagicks admin enhancements and the API in your existing zen-cart templates.

Here is some sample code of what that looks like (look ma, no SQL):
Code:
$product = ZMProducts::instance()->getProductForMoldel('ipodXXX');
echo $product->getName();
$manufacturer = $product->getManufacturer();
if (null != $manufacturer) {
     echo $manufacturer->getName();
}
Cheers, mano
Reply With Quote