Cafe24 News

[Themes (PC)] [Smart Themes] How to set newly created page URLs as page paths

2021-02-25


Update from Cafe24


If you want to set a newly created page URL as a page path, you need to edit the theme manually.


See below for more information.

---------------------------------------------------------------------------------


How to set newly created page URLs as page paths for product categories


- Location: Layout (Home page) (/layout/basic/main.html),

              Layout (Common) (/layout/basic/layout.html)


▼ Delete the sources in red and add the sources in blue as below.


              <div id="category" module="Layout_category">
                <!--@css(/css/module/layout/category.css)-->
                <!--@js(/js/module/layout/category.js)-->
                <div class="position">
                    <ul>
                        <li><a href="{$link_product_list}">{$name_or_img_tag}</a></li>
                        <li><a href="{$link_product_list}">{$name_or_img_tag}</a></li>
                        <li><a href="{$link_product_list}">{$name_or_img_tag}</a></li>

                        <li><a href="{$design_page_url}">{$name_or_img_tag}</a></li>
                        <li><a href="{$design_page_url}">{$name_or_img_tag}</a></li>
                        <li><a href="{$design_page_url}">{$name_or_img_tag}</a></li>
                    </ul>
                </div>
            </div>


How to set newly created page URLs as page paths for product categories


- Location: Layout (Home page) (/layout/basic/main.html),

              Layout (Common) (/layout/basic/layout.html)


Delete the sources in red and add the sources in blue as below.


              <div module="Layout_BoardInfo">
                <!--@css(/css/module/layout/boardInfo.css)-->
                <h2>All boards</h2>
                <ul>
                    <li><a href="{$link_board_list}">{$board_name}</a> {$board_adult_icon}</li>
                    <li><a href="{$link_board_list}">{$board_name}</a> {$board_adult_icon}</li>

                    <li><a href="{$board_list_url}">{$board_name}</a> {$board_adult_icon}</li>
                    <li><a href="{$board_list_url}">{$board_name}</a> {$board_adult_icon}</li>
                </ul>
            </div>


---------------------------------------------------------------------------------

We hope you enjoy the update. Don’t forget that Cafe24 is continuously improving its services to ensure that you have the best e-commerce experience.

So, stay tuned for more updates!

 

The Cafe24 team