How to create a signed request to the Amazon Product Advertising API in PHP

A demonstration of how to create a signed request for access to the Amazon product advertising API in PHP for use with ItemSearch or ItemLookup.

To access the Amazon product advertising API you’re going to need to create a signed URL per each request, which you can then later work with. You’ll need to have the 3 codes below before reading any further as without these you cannot sign the request and will be unable to access the API.

  1. AssociateTag
  2. AWSAccessKeyId
  3. AWS Secret Key

You can find out more information about how to get the above here.

Once you’ve got the above codes, you’re ready to create a signed URL and begin accessing Amazons vast product library. I’ve wrapped all the necessary code into a function for you, which you can find at the bottom of this page and for now the only parts...

Read More

the order confirmation email is not sent – Magento

how to enable the “order confirmation email” and able to be sent to the customer email?
The email was sent before, but somehow the order is not sent by email anymore. The “Order” and “Order Comments” setting in the System->Configuration->Sale Emails are Enabled.
Where can this go wroing?

Just make a small change in order.php
First, create one directory structure on the path below, then copy and paste the file to the path below.
Now, change from

or See Video

Read More
Magento, PHP

Category Templates


When a viewer clicks on a link to one of the Categories on your site, he or she is taken to a page listing the Posts in that particular Category in chronological order, from newest Posts at the top to oldest at the bottom. There are many display choices, including whether to display the complete post or post excerpts, and what additional information to display (title, author, publish date, last modified time, etc.). Each theme makes different choices, and you might want to change them.

This article explains how to change what happens when the blog viewer is visiting one of your site’s Category pages. This involves the use of Themes and Template files, so if you are new to template files, you might want to read Using Themes and Stepping Into Templates first.

Permalinks to categ...

Read More
PHP, Wordpress

How to Restart NodeJs

Login in Root

Then go
cd /home/

then go

su nehpets

now then go

cd ../var/www/html/datumBaseApp/

then start service

forever start entryPoint.js….


Read More

Clickable star ratings in Magento

So you are setting up Magento and you think a clickable 5 stars rating in your product page would be cool? It’s pretty easy!

First you want to enable the ratings in the Admin panel in Magento. So go to Catalog > Reviews and ratings  > Manage ratings and choose and/or add those that you want to appear in your product page. Just click on each one and select in which shop you want to it to be displayed.

Yay! Done! Now if you are using the rwd-theme and go to your product page, you see that we just added a review… table.

I don’t know about you, but I don’t like it that much. I just want 5 pretty stars that I can click. If you are using the rwd-theme as a base, we just have to slightly modify a template file and add some css. Let’s say, your theme is called “mytheme”...

Read More

Magento 1.9.2 Unknown cipher in list: TLSv1

Just tried to load an extension through magento connect and had the error “Unknown cipher in list: TLSv1”, the extension was Subcategories Grid/List by apptrian.

I use “CENTOS PHP 5.4.43 cURL 7.19.7”

In downloader/lib/Mage/HTTP/Client/Curl.php, try changing:

$this->curlOption(CURLOPT_SSL_CIPHER_LIST, 'TLSv1');




Read More


Maybe you have noticed the little adjustments that we did to our theme lately here on Codrops. One of the things we thought might be nice to change is the search input. We’ve put it from the sidebar into the header and we use a common effect where you have to click to expand the input. We have received many requests on explaining how we did it and today we’d like to show you how to create a search input like that from scratch. The aim is to maximize compatibility for mobile devices and older browsers (down to IE8). Although this might seem like a super-easy thing, we’ll have to apply some tricks in order to make it work properly.


<div id=”sb-search” class=”sb-search”>
<input class=”sb-search-input” placeholder=”Enter your search term…” type=”search” value=”” name=”search”...

Read More
HTML & CSS, Jquery