View Single Post
Old 05-22-2014, 10:59 AM
Lanna's Avatar
Lanna Lanna is offline
Ecwid Team
Join Date: Jan 2011
Posts: 2,675

Originally Posted by Roy Bouse View Post
I want to make buy 3 strap ons and get a free t-shirt of your choice on it should be something like this.
<script type="text/javascript">
if (page.type == "CATEGORY") {
if ($(this).text() == "$0.00") {
$(this).text("Free t-shirt");
if (page.type == "PRODUCT" && $("div.ecwid-productBrowser-price").text() == "$0.00") {
$("div.ecwid-productBrowser-price").text("Free t-shirt");

How do I install it and where?

Joomla has plugin 'Custom HTML' to add extra Javascript/HTML codes to pages. It will work for inserting scripts for Ecwid store. Please refer to this article for instructions:
Lana W.
Ecwid Customer Care Team

More tips and hints on Ecwid use in our Help Center

⬇ Please click Thanks if my reply helped you.

Thank Ecwid team on Twitter