Can anyone please help me to remove the amazon buy buttons from my product pages?

Can anyone please help me to remove the amazon buy buttons from my product pages?

RQureshi
Shopify Partner
3 0 1

Here is an example of a product page with the amazon buy button which I would like to remove:

https://leavesoftrees.com/products/lavender-tangerine-deodorant?variant=337308326

 

I tried going into product liquid to try to fix it myself, but I can't even find it there.

 

I can only see it in icon-amazon_payments.liquid and I see amazon-badge.png (which is the button graphic).

 

I appreciate any advice.

 

icon-amazon_payments.liquid

<svg aria-hidden="true" focusable="false" role="presentation" class="icon icon--wide icon-amazon_payments" viewBox="0 0 32 20"><path fill="#444" d="M6.211 12.131c-.164 0-.308.019-.466.069v2.014a.953.953 0 0 0 .453.107c.611 0 .976-.422.976-1.121 0-.674-.359-1.07-.963-1.07zm12.326 0c-.378 0-.655.327-.686.799h1.316c-.025-.409-.227-.799-.63-.799zm-9.959 1.284a.426.426 0 0 0-.233.403c0 .308.189.504.485.504.334 0 .585-.22.749-.39v-.642l-.466.013c-.239.013-.403.044-.535.113zm-.227-6.899c-.409 0-.85.088-.85.573 0 .246.126.415.346.415.157 0 .302-.101.397-.258.113-.195.107-.384.107-.604v-.126zM21.03 5.445c-.422 0-.447.573-.447.932s-.006 1.121.441 1.121c.441 0 .466-.617.466-.995 0-.246-.013-.541-.088-.774-.063-.201-.195-.283-.371-.283zm-6.056 1.65c0 .246.126.415.346.415.157 0 .302-.101.397-.258.113-.195.107-.384.107-.604v-.126c-.409-.006-.85.082-.85.573z"/><path fill="#444" d="M27.098 1.813H4.813c-1.058 0-1.92.963-1.92 2.147v12.074c0 1.19.862 2.147 1.92 2.147h22.285c1.058 0 1.92-.963 1.92-2.147V3.96c0-1.183-.856-2.147-1.92-2.147zm-9.883 5.622c0-.069 0-.183.069-.29l1.127-1.612h-.982a.106.106 0 0 1-.107-.107v-.415c0-.063.05-.107.107-.107h1.876c.057 0 .107.044.107.107v.359c0 .057-.05.139-.139.264l-.969 1.385c.359-.006.743.044 1.07.227.076.044.094.101.101.164v.447c0 .063-.069.132-.139.094a2.162 2.162 0 0 0-1.983.006c-.063.032-.132-.038-.132-.094v-.428zm.056 1.032c.611-.428 1.618-.308 1.731-.164.12.145-.032 1.152-.604 1.63-.088.076-.17.032-.132-.063.132-.321.422-1.045.283-1.221s-.906-.082-1.253-.044c-.107.019-.12-.076-.025-.139zm-1.517-2.896c-.069-.107-.201-.151-.321-.151-.22 0-.409.113-.46.346-.013.05-.05.101-.101.107l-.554-.057c-.044-.013-.101-.05-.088-.12.126-.674.73-.875 1.278-.875.277 0 .642.076.856.283.277.258.252.604.252.982v.888c0 .264.113.384.214.529.038.05.044.113 0 .151-.12.101-.321.277-.441.378-.038.032-.094.038-.132.013-.189-.157-.22-.233-.327-.378-.315.321-.535.415-.938.415-.478 0-.856-.296-.856-.888 0-.466.252-.781.611-.932.308-.139.743-.164 1.07-.195v-.076c.006-.145.019-.302-.063-.422zm-5.942-.554a.11.11 0 0 1 .107-.107h.529c.057 0 .101.044.107.101v.384h.013c.139-.371.397-.541.749-.541.359 0 .579.17.737.541a.808.808 0 0 1 .787-.541c.239 0 .504.101.661.321.183.246.145.604.145.919v1.844c0 .057-.05.107-.113.107h-.567a.109.109 0 0 1-.101-.107V6.383c0-.126.013-.428-.013-.548-.044-.195-.17-.252-.334-.252-.139 0-.283.094-.34.239s-.05.397-.05.56v1.549a.11.11 0 0 1-.107.107h-.573a.109.109 0 0 1-.101-.107V6.382c0-.327.05-.806-.352-.806-.409 0-.397.466-.397.806v1.549a.11.11 0 0 1-.107.107h-.573c-.057-.006-.101-.044-.101-.094V5.017zm4.444 4.653a9.59 9.59 0 0 0 3.689-.755c.183-.076.334.12.157.252-1.07.787-2.625 1.209-3.96 1.209a7.15 7.15 0 0 1-4.835-1.844c-.101-.088-.013-.214.107-.145a9.76 9.76 0 0 0 4.841 1.284zM8.282 5.571c-.069-.107-.201-.151-.321-.151-.22 0-.409.113-.46.346-.006.05-.044.101-.101.107l-.554-.057c-.044-.013-.101-.05-.088-.12.126-.674.73-.875 1.278-.875.277 0 .642.076.856.283.277.258.252.604.252.982v.888c0 .264.113.384.214.529.038.05.044.113 0 .151-.12.101-.321.277-.441.378-.038.032-.094.038-.132.013-.189-.157-.22-.233-.327-.378-.315.321-.535.415-.938.415-.478 0-.856-.296-.856-.888 0-.466.252-.781.611-.932.308-.139.743-.164 1.07-.195v-.076c.006-.145.013-.302-.063-.422zm-2.084 9.16c-.151 0-.308-.032-.453-.082v1.335a.063.063 0 0 1-.063.063h-.308a.063.063 0 0 1-.063-.063v-4.029c0-.025.019-.05.038-.057a2.46 2.46 0 0 1 .862-.164c.881 0 1.41.554 1.41 1.486.006.888-.579 1.511-1.423 1.511zm3.519-.057c-.032 0-.057-.019-.063-.05l-.044-.22c-.246.22-.516.327-.799.327-.541 0-.919-.371-.919-.9 0-.365.176-.648.504-.799.195-.088.409-.113.699-.126l.491-.013v-.145c0-.39-.195-.604-.554-.604-.334 0-.541.107-.737.227-.013.013-.032.013-.05.006s-.032-.013-.038-.032l-.132-.239a.068.068 0 0 1 .019-.088c.365-.239.718-.29.951-.29.623 0 .982.352.982.969v.869c0 .56.019.875.057 1.02.006.019 0 .038-.013.057-.013.013-.032.025-.05.025h-.302zm3.041-2.795l-1.014 3.015c-.346 1.014-.787 1.152-1.209 1.152-.183 0-.308-.025-.453-.082-.032-.013-.044-.044-.038-.076l.069-.271a.103.103 0 0 1 .032-.044c.019-.006.038-.006.05 0 .107.044.22.063.34.063.384 0 .655-.315.85-.995l-1.196-2.757c-.006-.019-.006-.044.006-.063s.032-.032.05-.032h.353c.025 0 .05.013.057.038l.932 2.191.711-2.184c.006-.025.032-.044.063-.044h.334c.019 0 .038.013.05.025.013.025.019.044.013.063zm4.205 2.726a.063.063 0 0 1-.063.063h-.308a.063.063 0 0 1-.063-.063v-1.75c0-.504-.132-.711-.447-.711-.321 0-.623.227-.856.434.006.057.006.113.006.17v1.863a.063.063 0 0 1-.063.063h-.308a.063.063 0 0 1-.063-.063v-1.75c0-.504-.132-.711-.447-.711s-.598.208-.856.434v2.033a.063.063 0 0 1-.063.063h-.308a.063.063 0 0 1-.063-.063v-2.745c0-.038.032-.063.063-.063h.258c.032 0 .057.025.063.057l.032.258c.321-.258.617-.378.919-.378.327 0 .585.164.724.447.346-.296.686-.447 1.007-.447.403 0 .837.264.837 1.014v1.844zm2.675-1.347a.063.063 0 0 1-.063.063H17.85c.025.472.271 1.001.906 1.001.264 0 .491-.094.636-.176.013-.006.032-.013.05-.006s.032.019.038.032l.107.227c.013.032.006.063-.025.082a1.675 1.675 0 0 1-.869.252c-.793 0-1.303-.604-1.303-1.542 0-.856.472-1.454 1.146-1.454.68 0 1.102.554 1.102 1.454v.069zm2.67 1.347a.063.063 0 0 1-.063.063h-.308a.063.063 0 0 1-.063-.063v-1.75c0-.642-.264-.711-.466-.711-.315 0-.598.208-.856.434v2.033a.063.063 0 0 1-.063.063h-.308a.063.063 0 0 1-.063-.063v-2.745c0-.038.032-.063.063-.063h.258c.032 0 .057.025.063.057l.032.258c.321-.258.617-.378.919-.378.415 0 .856.264.856 1.014v1.851zm-1.285-6.503c-.831 0-1.284-.73-1.284-1.63 0-.913.46-1.618 1.284-1.618.844 0 1.303.724 1.303 1.649 0 .888-.504 1.599-1.303 1.599zm3.349 6.371c-.157.12-.409.258-.68.258-.39 0-.604-.233-.604-.661v-1.876h-.384a.063.063 0 0 1-.063-.063v-.264c0-.038.032-.063.063-.063h.384v-.554c0-.025.019-.05.044-.063l.308-.107c.019-.006.044-.006.057.006a.058.058 0 0 1 .025.05v.661h.749c.019 0 .044.013.05.025a.059.059 0 0 1 .006.057l-.107.264a.064.064 0 0 1-.063.038h-.642v1.851c0 .252.126.277.227.277.164 0 .327-.094.447-.183.013-.013.038-.013.05-.006.019.006.032.019.044.038l.107.227a.083.083 0 0 1-.019.088zm-.063-6.528V6.359c0-.321.038-.787-.359-.787-.139 0-.264.094-.327.233-.082.176-.088.359-.088.554v1.574c0 .057-.05.107-.113.107h-.567a.109.109 0 0 1-.101-.107V5.006a.108.108 0 0 1 .107-.094h.529c.05 0 .088.038.101.082v.447h.013c.157-.403.384-.592.774-.592.258 0 .504.094.667.346.151.233.151.63.151.913v1.844a.108.108 0 0 1-.107.094h-.573c-.057-.013-.101-.05-.107-.101zm1.108 6.786c-.371 0-.648-.145-.781-.233-.025-.019-.038-.05-.025-.076l.107-.252c.006-.019.019-.032.038-.038s.038-.006.05.006c.126.076.315.183.63.183.17 0 .567-.044.567-.434 0-.264-.239-.371-.523-.497l-.05-.025c-.315-.145-.711-.321-.711-.85 0-.39.29-.787.938-.787.277 0 .51.069.655.132.025.013.038.032.038.057v.283c0 .019-.013.044-.032.05a.07.07 0 0 1-.063.006 1.333 1.333 0 0 0-.592-.132c-.346 0-.523.12-.523.359 0 .246.208.359.523.504l.038.019c.195.088.39.183.535.334a.74.74 0 0 1 .195.535c.019.523-.384.856-1.014.856z"/></svg>

Replies 2 (2)

Made4uo-Ribe
Shopify Partner
9857 2345 2942

Hi @RQureshi 

You can try this one. 

  • From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  • Find the theme that you want to edit and click on "Actions" and then "Edit code".
  • In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

ul.product-select-external-elements {
    display: none;
}

 

  • And Save. 
  • Result:
  • Made4uoRibe_0-1695415912210.png
If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
RQureshi
Shopify Partner
3 0 1

Thanks for your advice. I tried it but it didn't work. Part of the problem may be the the file is theme.scss so I will try to convert to theme.css

 

Is there a tool that you prefer to use to convert .scss to .css?