Home › Forums › WoodMart support forum › Change on category view
Change on category view
- This topic has 11 replies, 3 voices, and was last updated 5 years, 5 months ago by Artem Temos.
-
AuthorPosts
-
June 11, 2019 at 7:43 am #127982
rkassaParticipantHi,
I would like to make some changes on category view, like add something on description whene its printing on page, or the name of the product whene its printing on category page on the buttom of the image. On the picture showing with a red arrow.
My question is in wich files are the functions that do this.
Thanks.Attachments:
You must be logged in to view attached files.June 11, 2019 at 8:39 am #127991
Elise NoromitMemberHello,
Depending on the type of product hover design you will find the file in this folder: woodmart/woocommerce/content-product-*.php
Best Regards
June 11, 2019 at 9:17 am #127995
rkassaParticipantthe products are simple products. But i dont see content-product-symple.php file.
June 11, 2019 at 11:16 am #128020
Elise NoromitMemberHello,
What is the design on hover? You can check the file name in the Theme Settings > Shop > Product Styles you will find the product design on hover.
Best Regards
June 11, 2019 at 11:56 am #128032
rkassaParticipantWhat do you mean on hoever? i didnot ask anything about hover.
I need to change the name+description on the buttom of the image of a product.See th eattached fiel, with the arrow showing which text do i mean.
I need to kno win wich file is something like “echo product->name ”June 11, 2019 at 1:30 pm #128053
Elise NoromitMemberHello,
The file name you should edit will coincide with the design configured in the Theme Settings > Shop > Product style https://gyazo.com/a76d2d93aaf41059153aae87cc39e53b
Best Regards
June 11, 2019 at 1:34 pm #128054
rkassaParticipantOk i know that, but there is no option to print product name + <br> + product description, this is what i want to do, so i think i have to do this inside some php file manually, right?
June 11, 2019 at 2:57 pm #128073
Elise NoromitMemberHello,
You need to edit one of these files https://gyazo.com/32078d0bda43c4b37734223aa1909b58 depending on the settings in Theme Settings > Shop > Product style https://gyazo.com/a76d2d93aaf41059153aae87cc39e53b
Best Regards
June 12, 2019 at 10:06 am #128147
rkassaParticipantwe have choosen standart button, so which file do i need to edit?
June 12, 2019 at 11:31 am #128159
Elise NoromitMemberHello,
As I said above you should edit this file woodmart/woocommerce/content-product-standard.php
Best Regards
June 12, 2019 at 12:00 pm #128163
rkassaParticipantOk thanks, i foound that this function do_action( ‘woocommerce_shop_loop_item_title’ ); prints the titel.
So do i have on this palce some variable holding the product name and description? and/or i have to edit this action “woocommerce_shop_loop_item_title” if so then where can i find the source of this function.
Thanks.June 12, 2019 at 6:26 pm #128178
Artem TemosKeymasterThis hook is a part of the WooCommerce plugin and we don’t have documentation for their hooks and functions source. Try to refer to plugin’s documentation.
-
AuthorPosts
- You must be logged in to create new topics. Login / Register