Replies: 1 comment 1 reply
-
The product data is fetched in app/component/product.php#L55 The product->get method from the product model is generated from admin/sql/mysqli/product.sql#L5 Properties are set from the component template with app/template/components/product.tpl#L29 You can You can also check the compiled template at Try The data passed to view for product component can be accessed with |
Beta Was this translation helpful? Give feedback.
-
So in the "product.tpl" i was able to understand the following:
[data-v-test-test]|innerText = 'THIS IS A TEST'
and was able to display it on "product.html"
My question is in the product.tpl I'm trying to figure out what data is in the product model and where it comes from.
I see "$this->product['name']" but I want to know what other values are in the product array. Is see the var dump in the tpl but I get "Warning: Undefined property: Vvveb\System\Core\View::$product in....."
Beta Was this translation helpful? Give feedback.
All reactions