If you availed of the customization to hide locked products or collections from search, collection pages, etc., you will also need the additional code for said customization removed when you uninstall.
In general, you should look for the liquid files with the following code:
{%- capture wlm_check -%}{%- render 'wlm-search' with item , wlm_is_render:'yes' -%}{%- endcapture -%}{%- if wlm_check == blank -%}{%continue%}{%- endif -%}
And delete said code from these files.
For a step by step guide, see below:
- Go to “Online Store” from the sidebar of the admin area and select the “Themes” menu.
- Select “Actions” & click on “Edit code” from the drop-down menu of the theme you want to edit, typically your live theme.
- Search for all the liquid files with the following line of code:
{%- capture wlm_check -%}{%- render 'wlm-search' with item , wlm_is_render:'yes' -%}{%- endcapture -%}{%- if wlm_check == blank -%}{%continue%}{%- endif -%}
- Delete said line and save your change
For Search templates, the files are typically named one of the following:
-
search.liquid
-
main-search.liquid
-
search-template.liquid
For Collections templates, the files typically include more than one of the following:
- featured-collection.liquid
- main-list-collection.liquid
- main-collection-product-grid.liquid
Important: Make sure you have also removed the main app code by following these steps: https://help.wholesalehelper.io/hc/en-us/articles/360020963638-Uninstalling-Wholesale-Lock-Manager
If you’re still encountering issues, or would like our team’s assistance, please reach out to themes@wholesalehelper.io