• chyvak1831

    (@chyvak1831)


    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=0

    Tested 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?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter chyvak1831

    (@chyvak1831)

    Hm… right now I opened page with price $150 – and it displays correct info.

    Plugin Author Afterpay

    (@afterpayit)

    Hi @chyvak1831,

    Thank you for your message.

    When the product price is not within the Afterpay order limits, that message (“Afterpay available between $35.00 – $1,000.00 Learn More“) will show. In this case, product RILEY is $10, and Afterpay order minimum is $35.

    The “Payment Info Display for Product Variant” message would show up after a variant option is selected and the price gets updated.

    Hope that answers your questions.

    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Single Product page display wrong info’ is closed to new replies.