Amazon search widget is a small js script that shows relevant Amazon products on your pages with affiliate links back to them.
I need it to be shown in the categories content frame and to have as default search keywords my CS-Cart parent category and the current category, separated by coma
This is the script
Please, send me your quotes in a personal message here on site.
Try to add HTML block with SMARTY support to the Categories layout page
.....
(!) Not tested
It works like a charm, only I have to tweak my meta keywords, as now they include by default all parent categories
{{ parent_categories|join(", ") }}
and there are many repetitions, depending on the category depth. But if I change category_data to category_name, repetitions disappear and only the meta keywords of the proper child category are displayed.
The only problem is that the script goes to the bottom of the page as all inline scripts seem to be moved there by CS-Cart. Sent you a PM...