firetrader Posted January 24, 2018 Share Posted January 24, 2018 Hi Team I want to change the Paypal Express checkout icon from the standard icon to the image I have attached, as we now process credit cards Via Paypal but its confusing to customers who only think its a Paypal account checkout By changing the image I hope to make it more clear for customers and will go through this link to checkout with card ? Thanks Andy 6.0.11 empust.com.au Quote Link to comment Share on other sites More sharing options...
bsmither Posted January 24, 2018 Share Posted January 24, 2018 In the PayPal Pro module file /hooks/class.cubecart.display_gateways.php, there is code that identifies which image to show for which Pro mode is being used. Quote Link to comment Share on other sites More sharing options...
firetrader Posted January 24, 2018 Author Share Posted January 24, 2018 Thanks bsmither, I'm sorry, but can you give me the total string where this is if I go in under hooks there are no Paypal just admin.navigation and admin .product Sorry just found it, Quote Link to comment Share on other sites More sharing options...
firetrader Posted January 24, 2018 Author Share Posted January 24, 2018 Sorry next question, I have replaced the image but the size is too small, I have tried to increase the image but there must be a code or defintaion that over rides it ? Any Ideas ? Quote Link to comment Share on other sites More sharing options...
firetrader Posted January 24, 2018 Author Share Posted January 24, 2018 (edited) Sorry Further to this, under secure checkout I have the image : public_html/modules/plugins/PayPal_Pro/images/PayPal_mark_36.23.png I have tried to change the image, renamed it, deleted it and secure checkout still show this original image, I have also refreshed the browser, tried a different browser, even mobile app and I can not change the image, going nuts !!!!! Also cache off cache on Edited January 24, 2018 by firetrader Quote Link to comment Share on other sites More sharing options...
bsmither Posted January 24, 2018 Share Posted January 24, 2018 Turning the cache off, then having the page render, should have shown the new code. Where you see the image, have your browser show you the HTML source. (Each browser has their way of doing this.) Determine if the <img> tag attributes have changed. You can manually dump the cache -- admin, Maintenance, Rebuild tab, Clear Cache. This will force the template rendering engine to start all over with using the templates afresh. Put your desired image in the folder, then in the template, edit the <img> tag 'src' attribute to name that image specifically. If any screen real estate restrictions are placed on the image, it is a result of the overall template (not any templates in the module). Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.