Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Stuart Duff – a11n

    (@stuartduff)

    Automattic Happiness Engineer

    Hey @jayhan,

    The blocks are quite different to legacy WooCommerce products and you’ll find that older code snippets don’t work with the new blocks.

    You may be able to use the woocommerce_blocks_product_grid_item_html filter within the blocks to implement any customisations. You can see some examples of how this filter has been used by other users within this Github thread.

    https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/891

    Thread Starter jayhan

    (@jayhan)

    Hi @stuartduff,

    Thank you so much for your reply.
    The thread helped me a lot.
    Thanks again.

    Kindest regards,
    Jay

    Plugin Support Stuart Duff – a11n

    (@stuartduff)

    Automattic Happiness Engineer

    Hey Jay,

    I’m happy I could help. I’m going to mark this as resolved – if you have any further questions, you can reopen it again if you need be.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to make WooCommerce Blocks’ Add to Cart button opens a new tab?’ is closed to new replies.