craftsmancoding / moxycart

A turnkey FoxyCart eCommerce solution for MODX Revolution
2 stars 0 forks source link

Default Product Template is not working #33

Closed fireproofsocks closed 9 years ago

fireproofsocks commented 9 years ago

Default product template can be set in the parent store under its Defaults tab.

Optionally, we should have a global "default product template" setting that could kick in when a product is created from the CMP

fireproofsocks commented 9 years ago

Fixed. Products.php now references a global system setting.

$this->template_id = (isset($properties['moxycart']['template_id'])) ? $properties['moxycart']['template_id'] : $this->modx->getOption('default_template');