We’re currently experiencing a high volume of inquiries and our response time could be up to 2 days. We apologize for the delay, and thank you for your patience. Our available time: 2 AM - 1 PM (Monday - Friday) (UTC+0 Timezone).

Okay
  Public Ticket #2659187
Modify home page and add feature
Closed

Comments

  • wohhie started the conversation

    1. I want to modify the home pagepages (which includes a store and fetch data from the database) Is there any example or demo I can use as a reference? 

    2. Also want to  create a new template theme (img). Could you please tell me how can I do this!

  •  2,539
    Support replied

    Hi,

    1. Homepage layout is located in platform/themes/shopwise/layouts/homepage.blade.php

    It's using shortcodes in the homepage's content, shortcodes are defined in platform/themes/shopwise/functions/shortcodes.php

    The template views for shortcodes are located in platform/themes/shopwise/partials/short-codes.

    You can check our source code, we don't have other demo or example.

    2. You need to register it in platform/themes/shopwise/functions/functions.php

    Ex:

    register_page_template([    
        'full-width' => __('Full width'),
    ]);

    Then you need to create file platform/themes/shopwise/layouts/full-width.blade.php