Help document sub-theming issues with estore

Created on 29 January 2024, 5 months ago
Updated 2 February 2024, 5 months ago

This is a Document Issue to help collect findings with sub-theming with estore (v2 base).

πŸ’¬ Support request
Status

Active

Version

2.2

Component

Documentation

Created by

πŸ‡¨πŸ‡¦Canada SKAUGHT

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @SKAUGHT
  • πŸ‡ΊπŸ‡ΈUnited States romreactor

    CSS Styling in eStore
    CSS styling in drupal is located in this directory: public_html/themes/estore/css styles.css file.

    Editing Breadcrumbs to clear up some duplicate paginations in eStore
    You can edit in page block editor breadcrumbs which url links to display breadcrumbs and not. Located in admin/structure/block
    https://www.drupar.com/doc/edux/breadcrumb-navigation

    Deprecated Functions in eStore
    If any functions are deprecated, then you may ignore fixing these warnings as the module or core file developers will eventually resolve them. Keep in mind, if you are going to be creating any module or functionality for your site, avoid using deprecated code.

    Properly backup Drupal site
    β€’ Download public_html zip from file manager
    β€’ Download Database sql export
    β€’ Download public directory backup from drupal
    β€’ Go to /admin/config/development/configuration/full/export and export the configuration.

    Change the display of top most recent products in all products view
    Go to admin/structure/views/view/products/edit/block_products and under Pager select number of products you would like to display there if needed.

    Select which category items to view in Homepage
    Go to /taxonomy/term/1/edit and then by selecting the proper taxonomy term in homepage context, make sure to link it with the proper number for the items to be displayed.

    Select which hot product item to view in Homepage
    Go to admin/structure/page_manager/manage/homepage/general and under homepage contexts select the product number id to make it show up by default.

    To edit categories selection
    First you must select the taxonomy term for the categories you would like to display in Homepage contect and then edit the view.here./admin/structure/views/view/products/edit/block_by_category
    *Note the id is generated and viewable in Taxanomy url.

    To edit blog categories
    First you need to create blog category term to select when creating a blog. Then you may display this blog in homepage by selecting the id of the category taxanomy term, similar to how you did with product categories. Finally, go to content and add content blog, the category should be selected, create an image and blog post and the most recent 3 will show up on the homepage.

    To create a banner in eStore
    Go to admin/structure/block/block-content and create a new block with an image or how ever you want to create this. Then just add it to panel in pages, home page.
    *Note, these are 'Custom Block content' (simple image placed in WYSIWYG content body) then place in the panel.

    To edit the category block to show only one column amount of products
    You have to edit the file templates/views/views-view-unformatted--products--block-by-category.html.twig and make sure ot set div class col-sm-6 to col-sm-12 after editing layouts/homepage/first/homepage--first.html.twig and making sure only 3 columns are present in medium view.

    Enable Twig development mode
    Go to /admin/config/development/settings and select Twig development mode, this will disable twig cache. Disable when done with development along with stop cache and error display.

Production build 0.69.0 2024