Single Product page display wrong info
-
Single simple product page display some strange info “available between $35.00 – $1,000.00 Learn More” – but does not display info from WYSIWYG (setting “Payment Info on Individual Product Pages” in admin).
At the same time single product variation display this info from WYSIWYG, but does not display variation info (setting “Payment Info Display for Product Variant”).
See screenshot
https://www.dropbox.com/s/om98mfo7odzbe6p/afterpay.png?dl=0Tested with default Twenty Twenty, default Storefront and my custom theme – works the same.
UPDATE: I looked into plugin’s code and I see that when
if ( is_nan($from_price) && $show_outside_limit ) { //Individual Product Pages fallback if ($this->settings['pay-over-time-limit-min'] != 0) { $fallback_asset = $region_assets['fallback_asset']; } else { $fallback_asset = $region_assets['fallback_asset_2']; } $html = $fallback_asset;
Used fallback which contain text “…available between…”.
But code developed in way so the var
$from_price = NAN
always for non-variable products… it seems that this is a bug?
- The topic ‘Single Product page display wrong info’ is closed to new replies.