I
I
Islam Ibakaev2017-10-01 16:49:09
Web development
Islam Ibakaev, 2017-10-01 16:49:09

What are the ways to customize the theme for woocommerce besides the ones in the question?

I'm just getting started with woocommerce. Do I understand correctly that there are two ways to customize
1) deleting, adding, moving hooks (like they say here )
2) redefining plugin templates (as written here
) I like the second way more. It turns out that I do not write my own hooks, but use their hooks, just rewrite their markup.
Which method is better or are both good?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Yanchevsky, 2017-10-01
@devellopah

It's always better to try to solve the problem with hooks first, as when updating, deprecated hooks will most likely work, but the templates will already have to be edited manually.
If there is no hook and you need to change the markup, then yes - all that remains is to redefine the template.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question