thank you for updating the QTpro addon,
the QTPRO Options not show on the product info page and there is PHP Warning and Undefined array key in the error file
Code: Select all
PHP Warning: Undefined array key "track_stock" in /home/XXXX/public_html/shop/includes/system/override/qtpro/pad_base.php on line 233
Undefined array key "track_stock" in /home/XXXX/public_html/shop/includes/system/override/qtpro/pad_base.php on line 234
from this
Code: Select all
if ( ($build_stocked && $attribute['track_stock'] == '1') ||
($build_nonstocked && $attribute['track_stock'] == '0') ||
($build_stocked && $build_nonstocked) ) {
Code: Select all
if ( ($build_stocked && ($attribute['track_stock'] ?? '0') == '1') ||
($build_nonstocked && ($attribute['track_stock'] ?? '0') == '0') ||
($build_stocked && $build_nonstocked) ) {on the QTPro Documentation file it's say copy the file
* templates/override/includes/hooks/shop/siteWide/qtPro.php
to
* templates/YOUR SELECTED TEMPLATE/includes/hooks/shop/siteWide/qtPro.php
but there is no qtPro.php file there .. the file in includes/hooks/shop/siteWide/qtPro.php
Br
Omar