Clone style of existing module?
Posted: Tue Jul 05, 2016 7:31 am
Hey guys,
I have a latest module and a bestseller module, both of which display products that I'm assuming are pulled from the database with a query, but I'd like them to be displayed the same way. How can I modify the latest module to match the style of the bestseller module or just copy the bestseller module and copy/edit the code where it pulls the information?
I know a bit of coding, mainly C#, so php isn't quite greek to me but I haven't been able to figure out which file this information is in/where specifically it's getting it's products.
OpenCart Version 2.1.0.1.
I have a latest module and a bestseller module, both of which display products that I'm assuming are pulled from the database with a query, but I'd like them to be displayed the same way. How can I modify the latest module to match the style of the bestseller module or just copy the bestseller module and copy/edit the code where it pulls the information?
I know a bit of coding, mainly C#, so php isn't quite greek to me but I haven't been able to figure out which file this information is in/where specifically it's getting it's products.
OpenCart Version 2.1.0.1.