Zip Pay Code

AlexH
Tourist
7 0 2

G'Day!

I have just changed the theme of my store from Debut to Impulse, which is all good.

I had afterpay and Zip installed previously and although these payment types still work, the imagery on the Product and Cart pages dropped off.

I have re-installed afterpay without a problem, however I am having issues finding the correct place to insert the Zip Pay code in the new theme.

The instructions from Zip Pay are as follows:

https://zip-shopify.api-docs.io/v1/integration-steps/5-add-zip-widget-to-product-page

https://zip-shopify.api-docs.io/v1/integration-steps/7-add-zip-widget-to-cart-page

I am relatively comfortable editing the code, however I am just having trouble finding the exact line on which to add the above 2 pieces of code.

 

Can anyone point me in the right direction please?

Both payment types are still available and working, it is just that the Zip Pay imagery is not visible within the purchase path.

Thanks so much,
Alex

 

 

Replies 2 (2)
FleurA
New Member
1 0 0

Hi there! Did you happen to work this out? Also having the same issue 

AlexH
Tourist
7 0 2
After much fiddling with the code snippet, I have finally got the text to render correctly.
 
The Solution: I replaced ‘include’ with ‘render’ as suggested by the developer of the theme plus I removed the following from the snippet for both the product and cart page:
 
#zip-cart-widget > iframe{ 
      position: relative !important;
      left: 20px !important;
    } 
FYII : The script was included in the product-template.liquid  as opposed to the product-form.liquid.
 
It looks like it is working as intended.