Category Archives: Programming

How to add a favicon to Yahoo Store Checkout

If you want to add your own custom favicon to your store checkout then follow these 2 simple steps.

1. Upload your icon to the “files” section of your account and copy the https:// version. This way you won’t get a security warning at checkout. note: IE pretty much only accepts .ico and .jpg so if you are trying to tailor to the 12.1% market then you will want one of those extensions.

uploadfiles

2.ย Then on each of your checkout pages you would put the following in the “HTML Head Section” note: I am using single page checkout, but all checkout pages need the code for it to show up on all pages of checkout



uploadfiles

You could also paste the two lines of code above into your “Head-tags” global variable in the store editor to have a favicon on call pages. Good Luck ๐Ÿ™‚

Save remote image to server with PHP

I was working on a project where I was using an API to connect to Amazon to pull book details via ISBN. I needed to store the remote images on my server to be associated with the product that was being created and I put together these few lines of code to do so. It obviously will need to be reworked for your own needs, but the logic is below.


———————————————————————-
If you wanted to use directories on server you could (remove the last line above and) do something like



This WordPress code tag BS is pissing me off and I will be finding a plugin to allow all this to be copied and pasted easily ๐Ÿ™‚