woocommerce产品页面 - 打开灯箱图像的自定义链接[关闭]

I really would like to have a custom link on the product page which opens a lightbox image. These images should be set somewhere on the product edit page. I guess it is a bit of coding but should not be that difficult. Example: https://www.armedangels.de/frauenbekleidung-kleider-web-allover-avril-full-palm-10252599-220.html Right under the Titel it says - "Was steckt drin" - I want something similar to this. It would be great if someone could help me out with this problem. Any held appreciated !!! Thanks a lot and greetings from munich / Germany ... Marc

You need to add one meta box to add custom link for every product from admin panel. You can reffere to this link https://code.tutsplus.com/tutorials/how-to-create-custom-wordpress-writemeta-boxes--wp-20336

After that you need to modify woocommerce's single-product.php file which you can do like this "activated-theme > woocommerce > single-product"

There will be some files in that folder or you can create it with the same name(plugins > woocommerce > templates > single-product) but you need to find out file where you want to display that custom link(may be title.php in your case if theme doesn't have modification)

For that you can refer to these links