Do you want to enable directory mode in woocommerce store? This guide will step by step demonstrate how to disable sales and turn e-commerce stores into online catalogs. There are many marketing and business strategies that help develop online stores. Similarly, the catalog pattern is useful in some cases, depending on the type of product you sell. We’ll learn more about what directory patterns are and the main benefits of creating for your site. What is directory mode? Catalog mode website is an online store where customers can view a complete list of products, but can’t buy them immediately.
In traditional e-commerce websites, visitors and customers can buy products according to their needs. They simply add products to the shopping cart and pay for the products or services to be purchased through the payment process. However, in the catalog mode store, users cannot buy products. These sites will hide the \
The catalog model is spread across e-commerce websites dedicated to wholesale and members, but it is also useful on websites where other stores launch products in advance or display product inventory for marketing purposes. Benefits of woocommerce directory mode the benefits gained by woocommerce after activating the directory mode may be the real low price of the game chain for some websites. Making the store a catalog and letting users contact you to understand your products may help to provide a more personalized experience. This also helps to improve user engagement and up selling.
Similarly, if you are running an e-commerce website dedicated to members, directory mode is the only option for listeners to choose, so you can use directory mode to encourage listeners to join. This will ensure that you have fewer customers, but customers will be people who really care about the products you need to provide. In addition, if your site sells limited edition products, the directory mode will also be effective. Finally, the catalog model can create exaggerated advertisements when products are launched in advance or new online stores. It can be used to display items on the site and gain popularity before the store is activated.
In general, the main advantages of directory mode are: Increasing the number of registered users who display products according to customer types can help e-mail and press release marketing. Provide users with more personalized experience, increase participation with customers, and enhance trust and loyalty to products. In order to prevent certain types of users from buying products, we had a better understanding of the benefits of creating exaggerated advertisements before launching shielded products, so let’s take a look at how woocommerce activates the directory mode. There are two ways to activate the directory mode in woocommerce.
Use plug-ins programmatically. Note: assume that your site already uses woocommerce. Otherwise, please install woocommerce in the store before continuing and make sure the settings are correct. 1. Activate the directory mode in woocommerce programmatically. If there are some coding techniques, it is very easy to activate the directory mode. The basic concept is to hide the price on the product page and the Add button on the shopping cart. After that, the store only runs as a directory. Another way is to hide the additional button in the shopping cart and then the directory
The price is displayed in this mode. Please choose the most appropriate method, because there is no right or wrong choice.
Note: to use this method, you must edit some key files, so you must back up the website and create sub themes before making changes. Topic files contain very sensitive information and may damage the site, so it is recommended that you develop a method to always return in the process in case of problems. Now, let’s look at some snipt. functions. Just add it to the PHP tab. You can access it from the word press dashboard under appearance > Theme Editor > theme functions. Theme files may vary depending on the WordPress theme you use, but you must follow the guidelines and there is no problem.
If you cannot access the theme file or it is inconvenient to edit the file directly, you can add code to the theme or use special plug-ins, such as inserting code snippets, headers and footers. 1.1. Hide the \
You can also make the product unavailable and prevent customers from adding the product to the shopping cart. To do this, add the following snipt. add_filter( ‘woocommerce_is_purchasable’, ‘__return_false’); It also replaces the add to cart button with the read more button. Another interesting alternative to hiding the shopping basket of unregistered users is to hide the \
\/*Delete the button * \/ if (! Is_user_logd_in()) {\/ \/ on the product page, add_filter (\
The following prices can be used for all pets to be hidden in the store: add_filter( ‘woocommerce_get_price_html’, ‘QuadLayers_remove_price’); Function quadlayers_remove_price ($price) {return;} However, to display the administrator’s price and hide it from all other site visitors, you can use the following Gadgets:
add_filter( ‘woocommerce_get
_price_html’, ‘QuadLayers_remove_price’); Function quadlayers_remove_price ($price) {if (is_admin()) returns $price; return;} You can also use the following script to hide product prices only on the shopping page: add_filter( ‘woocommerce_after_shop_loop_item_title’, ‘remove_woocommerce_loop_price’, 2 ); Function remove_woocomer_loop_price() {if (! Is_shop()) returns; \/ \/ only hide the price remove_action (\
Because the plug-in must be installed and activated first, on the WordPress dashboard, navigate to plug ins > new to search for plug-ins. Then click Install Now to install and activate the plug-in. Male then go to yith > directory mode from the dashboard. A very simple setup page is displayed. You can choose to enable or disable the directory mode, hide the shopping cart, check out and add to the shopping cart on the shopping page for the administrator. Selecting \