Create Category

1: Create Category

Go to Products >> Add New Category

1.1: Name of category

1.2: Choose Rental

1.3: Choose Taxonomies

  • Empty: Display all Custom Taxonomy for this category.

  • Choose special custom taxonomy for this category.

Read here to know How to Create & Config Custom Taxonomy

1.4: Choose Custom Checkout Field

  • All: Display all custom checkout field for this category

  • Choose other fields: Choose special custom checkout field bellow - 4.1

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

1.5: Product Template

Choose special template to display for all product in this category.

  • Global Settings: Check in WooCommerce >> Settings >> Booking Tours >> Product Details >> Product templates

  • Other template: List all template build in Elementor.

2: Display at frontend

2.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.2 ) Display at frontend

  • Show/hide fields in Customizer. Read here

3: Customize Template

  • You can customize Shop and Category 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