How to manage registration options in WooCommerce

How to manage registration options in WooCommerce

  1. In WooCommerce->Settings section press on the Accounts tab.
  2. Under the Registration Options field you will find the following options:
    • Enable registration on the “Checkout” page: allows registration for users on the “Checkout” page.
    • Enable registration on the “My Account” page: allows registration for users on the “My Account” page.
    • Display returning customer login reminder on the “Checkout” page: displays a message “Returning customer? Click here to login” for users on the “Checkout” page.
    • Automatically generate username from customer email: usernames of newly registered users will be their emails.
    • Automatically generate customer password: users only have to enter an email when they register (a password will be generated and sent to their email address).
  3. Click on checkboxes near the options you want to enable and press the Save changes button at the bottom.

Thank you for watching our tutorial. Now you know how to manage registration options in WooCommerce.


How to manage product reviews in WooCommerce

How to manage product reviews in WooCommerce

  1. Please go to your website and open any product. Here you can see Reviews tab. You can click it and add a new review and rate it. You will see a new review has appeared. 
  2. In order to edit or remove the review, go to your WordPress admin panel, open Products -> Products menu, click on the required product here. Scroll down, you will see Reviews box. If you do not see this box, go to the top and click on Screen Options on the right and check Reviews option. 
  3. In the new review you can see such options: Unapproved, Reply, Trash, Spam, Quick Edit, Edit. You can use any of them in order to edit the existing review, or use Add comment button to add a new one.
  4. Let’s try to edit the existing review. Click Edit. After editing, update your post and check your page. As you can see, review was modified. 

Thank you for watching our tutorial. Now you know how to manage product reviews.


How to change default product sort order on category page in WooCommerce

How to change default product sort order on category page in WooCommerce

WooCommerce plugin includes several options for sorting the products on the Shop page. By default, you are given 6 options under WooCommerce > Settings > Products > Display:

  • Default Sorting (custom + name)
  • Popularity (sales)
  • Average rating
  • Most recent
  • Sort by price (ascending)
  • Sort by price (descending)

Let’s focus on the first option for setting up a customized order.

  1. At first, under WooCommerce > Settings > Products, you should change the Default Product Sorting to Default Setting (custom ordering + name).
  2. Then you click on Sort Products at the top of the product listings page, so you can start customizing your product order.This setting will automatically sort products alphabetically in your store. However, your can also use this setting to create an entirely customized order for WooCommerce products.
  3. The previous action will allow you to drag and drop products into an order that you choose for your Shop page. Note that if you start changing product order, completely customizing your products into an order that you choose, alphabetical sorting will now be overridden.
  4. Dragging and dropping products will change the Menu Order under Product Data > Advanced for each product, and there is no bulk method to reset all menu orders to 0. If you want to get back to alphabetical sorting, you will have to reset the menu order manually for each product to 0, which can be incredibly time consuming for stores with more than a few products.
  5. You can also manually edit menu order under Product Data > Advanced. Products with menu order 0 will be displayed first, then 1, 2, 3, etc. You can use this to create your own ordering, or groups of products that will be ordered together alphabetically.For example, if multiple products have menu order = 1, then they will be displayed alphabetically together after any products with menu order = 0.

How to enable/disable reviews, remove Reviews tab in WooCommerce

How to enable/disable reviews, remove Reviews tab in WooCommerce

You can find the reviews under each products of your shop. They are actually just comments of your customers and work like traditional comments left on WordPress posts and pages. Reviews can be disabled for 1 single product or for all of them at once. Steps will differ in both cases.

In order to remove Reviews for this single product only, navigate to the Dashboard> Products section. Search for the required product and use ‘Quick Edit’ tool. Uncheck ‘Allow Comments’ box there and update the changes.

Go back to the product page and refresh it. Reviews tab is no longer available for this particular item.

If you need to disable the Reviews options as a whole, navigate to Dashboard> Appearance> Editor> themeXXXXX> custom-function.php file.

Add new piece of code to the bottom of the file, before ‘?>’ closing tag:

add_filter( 'woocommerce_product_tabs', 'wcs_woo_remove_reviews_tab', 98 );
    function wcs_woo_remove_reviews_tab($tabs) {
    unset($tabs['reviews']);
    return $tabs;
}

Update the changes to the file and refresh the site. Reviews tab will be no longer available for all products in there.


How to remove “quick view” button in WooCommerce

How to remove “quick view” button in WooCommerce

  1. Navigate to File manager in your hosting cPanel.
  2. Open "wp-content/plugins/cherry-woocommerce-package/includes" folder.
  3. Find cherry-woocommerce-package.php file and click Edit icon to edit it.
  4. Locate this code and remove it:
    function append_button() {
                global $post, $product;
                $btn_tex = apply_filters( 'cherry_wc_quick_view_text', __( 'Quick view', 'cherry-woocommerce-package' ) );
                echo '<span class="btn cherry-quick-view" data-product="' . $product->id . '">' . $btn_tex . '</span>';
                wp_enqueue_script( 'prettyPhoto' );
                }
                $btn_tex = apply_filters( 'cherry_wc_quick_view_text', __( 'Quick view', 'cherry-woocommerce-package' ) );
                echo '<span class="btn cherry-quick-view" data-product="' . $product->id . '">' . $btn_tex . '</span>';
                wp_enqueue_script( 'prettyPhoto' );
                }
  5. Click “Save” button to save changes.
  6. Refresh your website to see changes. Quick view button is successfully removed.

How to enable/disable reviews, remove Reviews tab in WooCommerce

How to enable/disable reviews, remove Reviews tab in WooCommerce

You can find the reviews under each products of your shop. They are actually just comments of your customers and work like traditional comments left on WordPress posts and pages. Reviews can be disabled for 1 single product or for all of them at once. Steps will differ in both cases.

In order to remove Reviews for this single product only, navigate to the Dashboard> Products section. Search for the required product and use ‘Quick Edit’ tool. Uncheck ‘Allow Comments’ box there and update the changes.

Go back to the product page and refresh it. Reviews tab is no longer available for this particular item.

If you need to disable the Reviews options as a whole, navigate to Dashboard> Appearance> Editor> themeXXXXX> custom-function.php file.

Add new piece of code to the bottom of the file, before ‘?>’ closing tag:

add_filter( 'woocommerce_product_tabs', 'wcs_woo_remove_reviews_tab', 98 );
    function wcs_woo_remove_reviews_tab($tabs) {
    unset($tabs['reviews']);
    return $tabs;
}

Update the changes to the file and refresh the site. Reviews tab will be no longer available for all products in there.


How to remove some options from the “sort-by” list in WooCommerce

How to remove some options from the “sort-by” list in WooCommerce

  • Log into FTP/File Manager, go to wp-content/themes/themeXXXXX/includes folder to open custom-function.php file:
  • Add this code to the bottom of custom-function.php file, before the closing code ?>
    // Edit WooCommerce dropdown menu item of shop page//
    // Options: menu_order, popularity, rating, date, price, price-desc
     
    function my_woocommerce_catalog_orderby( $orderby ) {
        unset($orderby["price"]);
        unset($orderby["price-desc"]);
        return $orderby;
    }
    add_filter( "woocommerce_catalog_orderby", "my_woocommerce_catalog_orderby", 20 );

    Each unset($orderby[“field_from_Options”]); will remove the section that you need, just replace field_from_Options with the field you need.

    You can choose the field name from the following options: menu_order, popularity, rating, date, price, price-desc.

  • Save the file and refresh the site to see the changes:

How to manage checkout options in WooCommerce

How to manage checkout options in WooCommerce

  1. Log into wordpress admin panel, then go to Woocommerce -> Settings -> Checkout tab. 
  2. In Checkout Process section you can enable coupons, enable quest checkout and Force secure checkout. 
  3. Checkout Pages section allows to change the gateway for Cart, Checkout and for Terms and Conditions pages. 
  4. In Checkout Endpoints section you can change the text for the Pay, Order Received and Add Payment Method endpoints. They should be unique. 
  5. Payment Gateways sections shows the list of the available methods of payment. You can drag and drop them to change their display order on the site. Then press Save changes button. 
  6. Let’s go to site front end to place an order to see how it works. Fill in the Billing Form, choose method of payment, select ‘I have read and accept the terms and conditions’, then press Place order button.

How to edit order emails in WooCommerce

How to edit order emails in WooCommerce

In case you’d like the order emails to either match your shop’s layout, or add some additional content to assist customers with their orders, this can be easily managed via WooCommerce options and files.

Navigate to WooCoommerce> Settings> Emails. This tab allows you to implement general modifications of the mails content and structure.

First, you can use ”Click here to preview your email template” button under Email Options to see the general layout of the default email customers receive.

Options available are the following:

  1. "From" Name – sets the name/address customers see.
  2. "From" Email Address – sets the email address that customers see.
  3. Header image – allows to upload an image to show up in the email’s header.
  4. Email Footer text – you can change footer text appearing in emails.
  5. Base Color, Background Color, Email Body Background Color, Email Body Text Color – here you can choose different colors to change the style of email.

These general configurations will apply to all emails. In case you’d like to implement some custom changes which should be performed for specific mail types, use the following sections under Emails tab:

  1. New order – here you can modify the new order email sent once an order is received.
  2. Processing order – that’s an order notifications sent to a customer after payment is proceeded.
  3. Completed order – these are emails sent to the customer when the order is completed (f.e., shipped).
  4. Customer invoice – these emails contain order details and payment links.
  5. Customer note – such emails are sent once note is added to an order.
  6. Resent password – here you can edit info sent to a customer once he/she resets a password.
  7. New account – this section allows you to change a letter received by a new customer once the account is created.

All of the sections contain tabs like Email Subject, Email Heading, and Email Type where you can modify general info. In case some custom changes have to be implemented, use Template option. It allows you to override template email file.

First, you should copy the file to your theme folder. Click "Copy file to theme" button for this.

Once procedure is done, you’ll have the "View template" option available. Pressing it a file will open. It contains PHP code of the letter. It provides you with much more availabilities to manage emails manually. You can add or remove sections, grab some styles, and so on.

Save changes after you are done editing. The same "Click here to preview your email template" button can be used to see the changes performed.


How to import data from CSV files in WooCommerce

How to import data from CSV files in WooCommerce

In order to import products to your WooCommerce store, you need to have an Import plugin installed. You can find a Woocommerce CSV importer plugin on the official WordPress Plugin Directory.

In order to install the plugin, navigate to Plugins > Add new. You can either upload the plugin downloaded from the resource above, or search for the plugin using a Search Form.

After you install and activate the plugin, you will see the CSV Import tab in your admin panel. To start the import process, you should perform the following:

  1. In the WordPress dashboard navigate to CSV Import tab and check the Documentation. 
  2. Prepare your .csv file or use the example .csv. 
  3. Go to the Settings tab and check the available options. Save the changes in case you do any modifications. 
  4. Go to the Header tab and browse your file. 
  5. Check if all the fields match. You can set some fields to be skipped during the import process. Save the changes. 
  6. Navigate to Import tab and browse the same .csv file. Check if all the information is correct and start the Import. 
  7. You can check your newly imported products in the Products tab, and the media files in the Media Library.