The graphical themes in SOTESHOP are based on the Bootstrap framework. To make changes to the graphical theme, you need an FTP client and a text editor. We recommend Filezilla and Sublime Text for these purposes.
The change is intended to place a telephone number bar at the very top of the argentorwd theme header. The theme modification is performed on the FTP server on which the store is located.
<div class="container">
<div id="top" class="text-right">
<img src="{image_path image='phone.png'}" width="14" height="14" alt="phone" />
<b>61 800 000</b>
</div>
</div>
#top {background: #ececec; padding: 5px 10px; border: 1px solid #ddd;}
#top img {margin-right: 5px; position: relative; top: -1px;}
Caching systems are used in the store and it is best to view the store in developer mode while working. After work is finished, it is necessary to clear the cache and fast cache.
Copy the files to your own theme directory, which is the basis of your graphic theme in the panel. If you don't find the file there, copy it from the responsive theme. This is the base theme.
Copy only those files that you change.
/core/apps/frontend/templates/theme/nazwa_tematu/base.html
Changing to false turns off merging of css files.
Changing to false turns off merging of js files.
Fonts
/core/apps/frontend/templates/theme/nazwa_tematu/_fonts.html
Google Analytics
/plugins/stGoogleAnalytics/modules/stGoogleAnalyticsFrontend/templates/theme/nazwa_tematu/google_standard.html
Depending on the choice in the panel in layout configurationFor a two-column layout, the file
/core/apps/frontend/templates/theme/name_of_theme/two_column.html
is used, and for a one-column layout/core/apps/frontend/templates/theme/name_of_theme/one_column.html
Header -> more
Navigation path
/plugins/stNavigationPlugin/modules/stNavigationFrontend/templates/theme/name_of_theme/breadcrumbs.html
Category tree
/plugins/stCategoryTreePlugin/templates/theme/name_of_theme/vertical.html
Product filters on the list
/core/apps/frontend/modules/stProduct/templates/theme/name_of_theme/filters.html
Products in news
/core/apps/frontend/modules/stProduct/templates/theme/name_of_theme/product_new.html
Product groups
/core/apps/frontend/modules/stProduct/templates/theme/name_of_theme/product_group.html
The parameterproduct_group
has the following values: PROMOTION, SALES, RECOMMEND, MAIN_PAGE which corresponds to the type of product group: Promotions, Sales, Recommendations, Home page.Informational boxes added to the left column group. The template of one box is located in
/plugins/stBoxPlugin/modules/stBoxFrontend/templates/theme/name_of_theme/box_single.html
Calling a single box in any HTML file is:
{st_get_component module="stBoxFrontend" component="boxSingle" params="webmaster_id=my_box"}
moj_boks is the identifier for the box edition in the administrative panel.
Trusted Shops widget
/plugins/stTrustedShopsPlugin/modules/stTrustedShopsFrontend/templates/theme/nazwa_tematu/trusted_shops_show_rating_widget.html
Footer -> more
/core/apps/frontend/templates/theme/nazwa_tematu/_header.html
Horizontal categories
/core/apps/plugins/stCategoryTreePlugin/templates/theme/nazwa_tematu/horizontal.html
Basket preview
/core/apps/frontend/modules/stBasket/templates/theme/nazwa_tematu/show.html
My account
/core/apps/frontend/modules/stUser/templates/theme/nazwa_tematu/user_login_status.html
Language selection
/plugins/stLanguagePlugin/modules/stLanguageFrontend/templates/theme/nazwa_tematu/choose.html
Currency selection
/plugins/stCurrencyPlugin/modules/stCurrencyFrontend/templates/theme/nazwa_tematu/pick_currency.html
Search field
/core/apps/frontend/templates/theme/nazwa_tematu/_search.html
/core/apps/frontend/templates/theme/nazwa_tematu/_footer.html
Social links
/plugins/stSocialLinksBackend/modules/stSocialLinksFrontend/templates/theme/nazwa_tematu/show.html
Link Groups
/plugins/stWebpagePlugin/modules/stWebpageFrontend/templates/theme/theme_name/webpage_footer
Copyright
/core/apps/frontend/modules/stFrontendMain/templates/theme/theme_name/copyright.html
/core/apps/frontend/modules/stFrontendMain/templates/theme/theme_name/main_index.html
Blog
/plugins/stBlogPlugin/modules/stBlogFrontend/templates/theme/theme_name/blog_box.html
Text on Home Page
/core/apps/frontend/modules/stFrontendMain/main_text.html
Categories on Home Page
/core/apps/frontend/modules/stProduct/templates/theme/theme_name/product_tree_main.html
Products on Home Page
/core/apps/frontend/modules/stProduct/templates/theme/theme_name/product_main.html
Banners on Home Page
/core/plugins/stSlideBannerPlugin/modules/stSlideBannerFrontend/templates/theme/theme_name/slide_banner_show.html
/core/apps/frontend/modules/stProduct/templates/theme/theme_name/product_list.html
Category, product group or manufacturer name
Category or manufacturer image
Category or manufacturer description
Subcategories
/plugins/stCategoryTreePlugin/modules/stCategoryTree/templates/theme/theme_name/horizontal_children.html
Producer filters
/core/apps/frontend/modules/stProduct/templates/theme/theme_name/producer_filter.html
Sorting
/core/apps/frontend/modules/stProduct/templates/theme/theme_name/product_sort.html
Products on the list
/core/apps/frontend/modules/stProduct/templates/theme/theme_name/product_list_long.html
Pagination
/core/apps/frontend/modules/stProduct/templates/theme/theme_name/product_pager.html
/core/apps/frontend/modules/stProduct/templates/theme/theme_name/product_show_default.html
Product name
Product photo
Photo gallery
/core/apps/frontend/modules/stProduct/templates/theme/theme_name/product_image_gallery.html
Adding a review
/core/apps/frontend/modules/stReview/templates/theme/theme_name/review_show_stars.html
Product code
Manufacturer code
Manufacturer name
Weight
Weight unit
Execution time
Availability
/plugins//stAvailabilityPlugin/modules/stAvailabilityFrontend/templates/theme/theme_name/availability.html
Stock
Unit of measure
Questions
/plugins/stQuestionPlugin/modules/stQuestionFrontend/templates/theme/nazwa_tematu/question_show_question.html
Product options
/plugins/stProductOptionsPlugin/modules/stProductOptionsFrontend/templates/theme/nazwa_tematu/option_view_select.html
Product quantity
Catalog price netto - brutto
Discount value netto - brutto
Percentage discount value
Net price - brutto
Old net price - brutto
PayPal Express payment
Short description
Full description
Attributes
/plugins/appProductAttributesPlugin/modules/appProductAttributeFrontend/templates/theme/nazwa_tematu/list.html
/plugins/stWebpagePlugin/modules/stWebpageFrontend/templates/theme/nazwa_tematu/webpage_show.html
Page title
Page content
/core/apps/frontend/modules/stProduct/templates/theme/nazwa_tematu/product_not_found.html
404 website page:core/plugins/stWebpagePlugin/modules/stWebpageFrontend/templates/theme/nazwa_tematu/webpage_list.html
404 all other pages:/core/plugins/stErrorPlugin/modules/stErrorFrontend/templates/theme/name_theme/error_error_404.html
After creating a theme from the panel, the system will add the name_theme.css file to the path
/css/frontend/templates/theme/name_theme/
, if other files need to be changed, copy them from the base theme directory.Images should be placed in
/images/frontend/theme/name_theme/
To then use as a source in the codeTo add your own product group type, create a file called user_product_group.yml and add it to the store structure in the /core/apps/backend/modules/stProductGroup/config/ directory. The file should contain: