Atlasan Posted November 11, 2019 Share Posted November 11, 2019 Hi everybody. I'm struggling trying to figure which files should I overidde in a module to allow me access the combinations data inside the smarty template of the products list. Anybody? Link to comment Share on other sites More sharing options...
joomleader Posted November 12, 2019 Share Posted November 12, 2019 Hi friend You can try controllers/front/listing/CategoryController.php Link to comment Share on other sites More sharing options...
Atlasan Posted November 14, 2019 Author Share Posted November 14, 2019 (edited) On 11/11/2019 at 11:42 PM, Atlasan said: Thank you for your answer. I'm looking at this file but I can't figure out where to act. Is there some piece of doc that explain the whole inclusions steps for eg. product listing, product details pages? I tried following the custom module and theme steps, but than I get lost in knowing which classes of which files are actually executed. Thank you in advance and sorrry for the newbie questions. Let me explain what I would like to archive: at now modifying pieces of modules or themes files I can change ho to present the informations I have available in my templates, what I want is to add some custom data from the product listing and the product details controllers down to the template. So i would have something like: '--- in the controller --- $myProd["myvar1"] = $myCustomData; --- in the template ---- <b>Controller passing me:</b> {$product.myvar1} So, where is the controller in a default case? (I assume that a module or a template can override it, and that's what I should do as well) Thank you. Edited November 14, 2019 by Atlasan (see edit history) Link to comment Share on other sites More sharing options...
Atlasan Posted January 29, 2020 Author Share Posted January 29, 2020 Finally, time later, I had to set up the debug tool and step by step find the way to do what I was trying to archive: getting the stock available for the combination and preventing the unavailable products to be displayed!! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now