Hamed mayahian
Hamed mayahian

Reputation: 2323

Woocommerce overridden not work after Administrator logged in

I've copied the folder plugin/woocommerce/template to theme/mytheme/woocommerceand designed a new template and just checked Woocommerce/System Status to make sure overridden is worked.

The template works fine but when the user or the admin logged in , the overridden code does not work and the template defaults to plugin/woocommerce/template and shows the default template

the problem happened for this particular pages:

  • Product-single.php
  • taxonomy-product_cat.php
  • archive-product.php

And this problem happen just when Administrator logged in

How can this problem be addressed?

I Also Disable All plugin (except woocommerce), copy original woocommerce template file to twentysixteen Template and modify that.

But The Problem not Solved Anyway!

I use woocommerce 2.5.5 And Wordpress 4.4.2

Upvotes: 6

Views: 690

Answers (1)

Firmansyah Maulana
Firmansyah Maulana

Reputation: 26

try disable debug mode from wp-config.php

define( 'WC_TEMPLATE_DEBUG_MODE', false );

Upvotes: 0

Related Questions