V
V
Vadim Timoshenko2018-05-31 09:46:42
Documentation
Vadim Timoshenko, 2018-05-31 09:46:42

How to work with woocomerce documentation?

I'm making a landing page based on woocommerce. There are 3 products so far. In the future, I plan to convert it into a full-fledged store. I am familiar with wordpress, and with woocommerce, in principle, too. But so far it's hard.
Now I display 3 products on the landing in a cycle:

$args = array(
      'post_type' => 'product',
      'posts_per_page' => 3
    );

    $loop = new WP_Query( $args );

I found the price display function:
woocommerce_template_loop_price();
But I also need to display a standard product gallery where, when hovering over an image, it increases and the images scroll. I can't find a function to display this gallery. I look at the documentation - I can’t “get it” in any way, how can I look for what I need there? Or do you just need to follow the default template and look for where what is displayed and thus display it at home?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question