Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hello,
I would like to ask for advice on where to position a code. My payment gateway has been refusing payments and there's an article on their site where they provide a "security code" which promises to reduce the payment refusals, the problem is they don't tell exactly where to insert the code. I found a trustworthy Youtube tutorial showing that I should insert the code on the product.liquid file, however I use the Warehouse theme and it does not have this product.liquid file. Which file substitutes the product.liquid file on the Warehouse theme? Below I will leave the code that I need to add. It's intended to work for product pages.
Hello @matteo_p,
Greetings from the Store Watchers Support Team! Happy to help you today.
It looks like you are trying to setup Mercado Pago payment gateway. It depends on which theme version you are using. For Warehouse theme check for below templates:
1. product-info.liquid
2. product-item.liquid
3. product-meta.liquid
Let me know if need further assistance
Regards,
Store Watchers Support Team
Hi there,
Thank you for your reply. The Mercado Pago gateway is already set up on my store. This code is just to improve the credit card acceptance rate. Which of these liquid files is the main one for product pages? Or should I insert the code on these 3 liquid files?
All of these 3 files are present under "snippets". Which one should I add the code into?
2.8.4
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025