Jump to content

correct adaptation for a module and theme overrides?


finlanderid

Recommended Posts

I am duplicating an existing module (and its theme overrides) for a purpose similar to the existing module. Specifically, I am creating a Related Products module for the product page, based on the Products Category module. The default PS Cross Selling module is also very similar.
 
I have already done all the work to create the new Related Products module, by modifying the code from Products Category. The new module is working fine. When I implement this new module, I want to duplicate the concept of the installation of Products Category.
 
My specific question is this:
 
Is the following list of directories a comprehensive and correct list of where things need to be "duplicated" (with modifications of course for the new module)?
 
the core
root/modules/relatedproducts/*everything*
 
the theme overrides
root/themes/default-bootstrap/css/modules/relatedproducts/css
root/themes/default-bootstrap/js/modules/relatedproducts/js
root/themes/default-bootstrap/modules/relatedproducts
root/themes/default-bootstrap/sass/modules/relatedproducts/css
 
Thanks.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...