If this is your first visit, check our documentation. To post, register or login.
Forums / Code Matters / Bug Reports / Misplaced </div> tag in tpl_product_info_display.php

Misplaced </div> tag in tpl_product_info_display.php

Started by vasilt on 16 May 2024, 7:54 AM · Views: 659

Results 1 to 2 of 2
16 May 2024, 7:54 AM
#1
vasilt avatar

vasilt

New Zenner

Join Date:
Jan 2006
Posts:
44
Plugin Contributions:
0

Misplaced </div> tag in tpl_product_info_display.php

ZC 2.0
PHP 8.3
I noticed a misplaced closing div tag in includes/templates/responsive_classic/templates/tpl_product_info_display.php on line 68. Because it is placed inside the if statement on line 52 the product page gets messed up if there is no image associated with the particular product shown. The </div> tag should be after the closing bracket of the if statement on line 70/71.

16 May 2024, 11:26 AM
#2
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,760
Plugin Contributions:
56

Re: Misplaced </div> tag in tpl_product_info_display.php

Would you please PR this fix? Thanks.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.