• Resolved efox

    (@foxylearning)


    It would be great if this plugin gave us options for the placement of Pay Later Messaging on the product pages. Currently, the Pay Later Messaging gets placed in the middle of other notices after the short description on my product pages and looks terrible. I would prefer to have the option to have it appear either directly below the price or above the “add to cart” button. Thanks for your consideration.

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Payment Plugins

    (@mrclayton)

    Hi @foxylearning

    If you navigate to the Edit Product page there is an option in the PayPal settings to control the location of the Pay Later messaging on a per-product basis.

    Have you looked at that option?

    Kind Regards,

    Thread Starter efox

    (@foxylearning)

    Thanks. I had not noticed those settings yet. I do not see any setting there to control the location on the page of the Pay Later messaging (just a setting to turn it on for the product, which did not work at all — only the global setting seems to turn it on).

    I also have hundreds of products, so even if there was a per-product positioning setting, it would be a big pain to have to go through and set that for every single product.

    Plugin Author Payment Plugins

    (@mrclayton)

    Thanks. I had not noticed those settings yet. I do not see any setting there to control the location on the page of the Pay Later messaging (just a setting to turn it on for the product, which did not work at all — only the global setting seems to turn it on).

    Whoops, there’s an option to control the button position, not the messaging location.

    I also have hundreds of products, so even if there was a per-product positioning setting, it would be a big pain to have to go through and set that for every single product.

    I’ve made a note to include a positional option on the Pay Later Messaging Settings page in the next release.

    Kind Regards,

    Thread Starter efox

    (@foxylearning)

    Awesome. Thanks!

    Plugin Author Payment Plugins

    (@mrclayton)

    @foxylearning version 1.0.27 is released which has an option to control where the Pay Later messaging renders on the product page.

    Thread Starter efox

    (@foxylearning)

    I just tested the update and the new positioning option for the Pay Later messaging appears to work perfectly. Thanks so much for the quick fix!

    Hi,

    For me with version 1.0.27 pay later messaging on product pages disappears.

    With 1.0.26 looks like this: https://paste.pics/MYWG8

    With 1.0.27 looks like this: https://paste.pics/MYWIB

    I am using Oxygen (so, no theme is used) if that is an important information for you.

    In the plugin, these are the settings: https://paste.pics/MYWKK

    The only combination which displays the message on the product page is with the placement “Below Add To Cart”, but it looks like this: https://paste.pics/MYWMB

    Not nice at all, right?!

    What do you think may be “wrong”?

    • This reply was modified 1 year, 11 months ago by Elliot.
    Plugin Author Payment Plugins

    (@mrclayton)

    Hi @mladja11

    In order to provide the 3 different placement options, the PayPal plugin uses the following WooCommerce actions which are by default triggered by WooCommerce:

    1. woocommerce_single_product_summary – with priority 8
    2. woocommerce_single_product_summary – with priority 15
    3. woocommerce_after_add_to_cart_button – with priority 5

    It seems like Oxygen is not triggering the WooCommerce action woocommerce_single_product_summary and that is why the Pay Later message isn’t being output. Can you think of a reason why that would be the case?

    Is there anything special about this product’s configuration? For example, it’s a grouped or bundled product?

    Kind Regards,

    Hi,

    Not really. That example is just one variable product; nothing special about it.

    I could ask Oxygen about this…

    But strange is that previous version worked, and lates does not work. Oxygen did not have any updates recently, so I did not update Oxygen and your plugin at the same time.

    Oxygen is offering testing sandboxes, you could deploy one for free here: https://oxygenbuilder.com/try/

    Then you could install you plugin and see yourself what is going on.

    Plugin Author Payment Plugins

    (@mrclayton)

    But strange is that previous version worked, and lates does not work

    Versions prior to 1.0.27 used the hook woocommerce_before_add_to_cart_form to render the Pay Later button. So it seems the message disappearing on your site is related to the hooks being changed to the ones listed in my previous reply.

    OK. How to fix this then? Is there something I can do?

    Plugin Author Payment Plugins

    (@mrclayton)

    OK. How to fix this then? Is there something I can do?

    I don’t see why Oxygen would not be using the default WooCommerce hooks. I’d think they would want to use all of the hooks that WooCommerce triggers to ensure compatibility.

    You can use our Contact Us page and we can take a look at your site.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Pay Later Messaging placement on product pages’ is closed to new replies.