Recent Topics

Shop layout not extending from custom theme!



  • I was trying to add Q/A under a new package. Now I want to show them in front page. When I extend the it from Shop module it works and extended from default theme. But I'm using a custom theme, so how can I call the custom theme design or where should I put those view file?



  • We are facing the same issue. Quick help will really be appreciated.
    Thanks in advance



  • Hi,

    You can call custom theme as same manner as you call default & put your views in view_path of theme (given in config) & extend @extends('shop::layouts.master') at view pages.

    And we are request you to please elaborate more because right now we are getting difficulty to get it.

    Thanks



  • I have created a new Package CustomerCare and added a Module HelpCenter under it.

    Capture.PNG

    Had added some Q/A under HelpCenter Package.

    2.PNG
    2.PNG

    Now I want to show these Q/A in store front. Under route (/helpcenter).



  • Hi,

    Now you need to create route & controller for your view. Your route, controller & view should be in your package.

    Your packages master file should include @extends('shop::layouts.master') & be able to show it on front-end.

    Thanks


Log in to reply