官术网_书友最值得收藏!

Adding an image gallery to a product

One of the things that can really sell a product is having high-quality visuals. For some types of products, you may only need one photo. For other markets, especially upper-scale markets, the more photos, the better. Included in WooCommerce is the ability to show off a gallery of images.

Getting ready

You need to have a product on your site. If you haven't already done this, please follow the steps in the preceding recipe, Adding a simple product.

How to do it…

In order to add an image gallery to a product, go through the following steps:

  1. In the WordPress admin, click on the Products menu and navigate to your product.
  2. Once you're on the product detail page, look for the Product Gallery meta box and click on Add product gallery images.
    How to do it…
  3. Just like with the Featured Image configuration, you can either select existing images or upload as many images as you like.
  4. Now that you've added the images to the product gallery, you can arrange them however you like by clicking-and-dragging them into any order.
    How to do it…
  5. Click on Update and you should have a beautiful gallery for your product.
    How to do it…

Tip

Included in WooCommerce is a lightbox gallery. If you click on any of the images in the gallery, it should open the image up in a lightbox. Make sure you upload high-quality images as the lightbox will display the largest size available.

主站蜘蛛池模板: 石棉县| 汉川市| 汨罗市| 睢宁县| 平江县| 祁阳县| 利川市| 东乌| 和林格尔县| 双柏县| 静安区| 揭阳市| 原阳县| 湘乡市| 鄄城县| 淳安县| 海林市| 绥江县| 芜湖市| 千阳县| 凤凰县| 凤山县| 阳城县| 务川| 荥经县| 梅河口市| 和田市| 宾川县| 锡林郭勒盟| 虞城县| 岗巴县| 临海市| 亚东县| 大港区| 连城县| 类乌齐县| 枣阳市| 英吉沙县| 十堰市| 沾益县| 武山县|