Categories

I: Create Category

Go to Products >> Add New Category

1: Add Name of category

2: Display:

Choose: "Rental" option

3: Choose Taxonomies

We support 2 options:

  • Empty: If you don't choose any Custom Taxonomies, all Custom Taxonomies will be shown in the category.

  • Choose some custom taxonomies: The custom taxonomies you choose will be displayed in the category

Read here to know How to Create & Config Custom Taxonomy

4: Choose custom checkout fields

We support 2 options:

  • All: Display all custom checkout fields in the category

  • Choose other fields: Choose some separate custom checkout fields for the category that you want

Read here to know How to Create & Config Custom Checkout Fields

5: Product Template

We support 2 options:

  • Global Settings: Allow settings in global settings ( WooCommerce >> Settings >> Booking Tours >> Product Details >> Product templates ) to be applicable for the category. Learn more in Tour template

  • Tour Detail 1, Tour Detail: These two templates are built with Elementor. With Elementor, you can create product templates on your own and assign them to any products you want. Learn more in Tour template

6: Display Type

Choose "Default" option

7: Upload image

  • This image will be displayed at top of category page.

II: Display at frontend

1) Add a category to Menu

Also you can add a link like: https://your-domain/product-category/slug-category/.

You can change "product-category" slug in WooCommerce Settings.

Example: https://demo.ovatheme.com/tripgo/tour-category/beach/

2 ) Display at frontend

  • Show/hide fields in Customizer: Go to Appearance >> Customize >> Tour >> Archive

III: Customize Template

You can customize Shop and Category in child theme:

Note:

  • You have to active the tripgo-child theme.

  • You can use File Manager plugin to create folder "WooCommerce", "rental" in child theme.

Copy file
themes/tripgo/woocommerce/rental/content-item-product.php
to
themes/tripgo-child/woocommerce/rental/content-item-product.php

Last updated