Fixed bug where template categoryes are not save properly in template
This commit is contained in:
@@ -109,7 +109,7 @@ class Wiaas_Admin_Template_Selection {
|
||||
$selected_template, '_template_items_hardware');
|
||||
|
||||
$template_products_service = WC_Product_Template::get_template_categories_from_meta(
|
||||
$selected_template, '_template_items_service');
|
||||
$selected_template, '_template_items_services');
|
||||
|
||||
$template_products_installation = WC_Product_Template::get_template_categories_from_meta(
|
||||
$selected_template, '_template_items_installation');
|
||||
|
||||
@@ -38,7 +38,7 @@ class Wiaas_Template_Admin_Ajax {
|
||||
if (!empty($template_products)) {
|
||||
ob_start();
|
||||
Wiaas_Admin_Template_Selection::render_template_products($template_products['hardware']);
|
||||
Wiaas_Admin_Template_Selection::render_template_products($template_products['service']);
|
||||
Wiaas_Admin_Template_Selection::render_template_products($template_products['services']);
|
||||
Wiaas_Admin_Template_Selection::render_template_products($template_products['installation']);
|
||||
Wiaas_Admin_Template_Selection::render_template_products($template_products['software']);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user