Not allowed to access configuration
Posted: 27 Aug 2016, 23:05
i am trying to write my own config setting and read it from my custom body template.
Side question: i have defined my template body like this (shop.php):
i thought just leaving it in the right directory will load that template?! that is without specifying the directory in shop.php like i did above. That is for extensions. See here https://aimeos.org/docs/Developers/Html ... _templates
anyway:
when adding a config:
and then accessing it in my address-billing-body-default.php results in
Side question: i have defined my template body like this (shop.php):
Code: Select all
'client' => array(
'html' => array(
'checkout' => array(
'standard' => array(
'address' => array(
'standard' => array(
'template-body' => array(
__DIR__ . "/../ext/cmc-usa-salestax-by-state/client/html/templates/checkout/standard/address-billing-body-default.php"
)
)
anyway:
when adding a config:
Code: Select all
'mshop' => array(
'price' => array(
'taxflag' => 0,
'shoplocatedinusa' => 1,
)
)
Not allowed to access "mshop/price/shoplocatedinusa" configuration