In the shop, product category descriptions are being placed under the product/category feed. I would like to move these to the top of the page. Is here any way to fix this? I've also attached a screenshot so you can exactly see what I mean.
The php file you are referring to is a single product page, not the category page. Did you see the screenshot I sent? I also don't have a folder called 'TheGem_speed'.
Hello there,
In the shop, product category descriptions are being placed under the product/category feed. I would like to move these to the top of the page. Is here any way to fix this? I've also attached a screenshot so you can exactly see what I mean.
HI!
Remove from:
/wp-content/themes/thegem/woocommerce/single-product/short-description.php
and add this code
in the
wp-content/themes/TheGem_speed/TheGem/woocommerce/content-single-product.php
in line 43
Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list.
Regards, Oliver
It's templates just copy it to the child theme.
Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list.
Regards, Oliver
The php file you are referring to is a single product page, not the category page. Did you see the screenshot I sent?
I also don't have a folder called 'TheGem_speed'.
HI!
Sorry, there was mistake in URL.
Pls. check:
/wp-content/themes/thegem/woocommerce
There are templates for woo, you can control position of elements there.
Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list.
Regards, Oliver
You need to edit via hooks
/wp-content/themes/thegem/woocommerce/content-product_cat.php
It's default template, we don't add any changes there.
Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list.
Regards, Oliver
The problem is solved in the file /wp-content/themes/thegem/inc/woocommerce.php
Change these actions in rule 450 and 451:
remove_action( 'woocommerce_archive_description', 'woocommerce_taxonomy_archive_description', 10 );
remove_action( 'woocommerce_archive_description', 'woocommerce_product_archive_description', 10 );
to:
add_action( 'woocommerce_archive_description', 'woocommerce_taxonomy_archive_description', 10 );
add_action( 'woocommerce_archive_description', 'woocommerce_product_archive_description', 10 );
and change the actions in rule 453 and 454:
add_action( 'woocommerce_after_shop_loop', 'woocommerce_taxonomy_archive_description', 15 );
add_action( 'woocommerce_after_shop_loop', 'woocommerce_product_archive_description', 15 );
to:
remove_action( 'woocommerce_after_shop_loop', 'woocommerce_taxonomy_archive_description', 15 );
remove_action( 'woocommerce_after_shop_loop', 'woocommerce_product_archive_description', 15 );