Hello all,
Tried doing a search on here and using Google but to no avail.
I am using 1.5.1 and the products tags printed by the default php contains a comma at the end of the very last tag in the tags list...so it looks something like this on the website:
Tags: one, two, three, four,
As you can see the last tag has a comma at the end...
I am pretty sure the file to modify is /catalog/model/catalog/product.php but I don't know how to modify it
Can somebody please help, thank you so much!
Happy Holidays,
Kayla
the comma is supposed to be there for the last tag term as well? I am only talking about the last term in the tag
For example:
Tags: one, two, three, four, five,
Five is the last term and should not have a comma behind it right?
For example:
Tags: one, two, three, four, five,
Five is the last term and should not have a comma behind it right?
Would you kindly explain how you achieved that?vannikong wrote:I didn't put a comma between the tag and it works well.
silly me it's right in the /catalog/view/theme/default/template/product/product.tpl file
I still prefer to only remove the comma on the last tag...if anybody knows how please do share, thanks a bunch!
Cheers,
Kayla
I still prefer to only remove the comma on the last tag...if anybody knows how please do share, thanks a bunch!
Cheers,
Kayla
This Product TAG Generator commercial extension generates the tags automatically AND removes the last comma in the tag list, it worked perfectly for me, thanks to privatemtx!!
Who is online
Users browsing this forum: No registered users and 212 guests