Skip Navigation

[Gelöst] WooCommerce Views Product Archive Template File Child Theme

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

This topic contains 4 Antworten, has 2 Stimmen.

Last updated by paulA-9 vor 1 Jahr, 11 Monate.

Assigned support staff: Luo Yang.

Author
Artikel
#1513445

I am trying to:
Use the Child theme template for WooCommerce Archives.

Link to a page where the issue can be seen:
/wp-admin/admin.php?page=wpv_wc_views

#1514045

Luo Yang
Supporter

Languages: Englisch (English ) Vereinfachtes Chinesisch (简体中文 )

Timezone: Asia/Hong_Kong (GMT+08:00)

Hello,

I assume we are talking about Woocommerce shop page(Product archive page).

You can follow their document to setup theme file in child theme:
https://docs.woocommerce.com/document/template-structure/#section-1
section "How to Edit Files".

It should be file "woocommerce/archive-product.php"

#1514993
Screen Shot 2020-02-18 at 8.26.13 AM.png

I know how this works, my child theme should be working. The problem is Toolset only offers 2 options to set the templates. See screenshot.

#1515765

Luo Yang
Supporter

Languages: Englisch (English ) Vereinfachtes Chinesisch (简体中文 )

Timezone: Asia/Hong_Kong (GMT+08:00)

archive-product.JPG

I assume we are talking about the "Woocommerce Views" plugin, if it is, you can copy the file from "Woocommerce Views" plugin folder \plugins\woocommerce-views\templates\archive-product.php into your child theme folder woocommerce\archive-product.php, and test again. It works fine in my localhost, see screenshot archive-product.JPG

#1516831

My issue is resolved now. Thank you!