Post by kaylamatthews » Fri Dec 02, 2011 8:50 pm

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
Last edited by kaylamatthews on Sat Dec 03, 2011 4:54 pm, edited 1 time in total.

New member

Posts

Joined
Wed Jun 01, 2011 12:30 pm

Post by werepair » Fri Dec 02, 2011 10:57 pm

that comma is suppose to be there, why do you want to remove it ?
best regards

User avatar
Active Member

Posts

Joined
Sat May 28, 2011 2:54 pm
Location - United Kingdom

Post by kaylamatthews » Sat Dec 03, 2011 8:15 am

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?

New member

Posts

Joined
Wed Jun 01, 2011 12:30 pm

Post by vannikong » Sat Dec 03, 2011 8:18 am

I didn't put a comma between the tag and it works well.

electronic cigarette e-liquid


New member

Posts

Joined
Mon Nov 21, 2011 9:08 pm

Post by kaylamatthews » Sat Dec 03, 2011 8:21 am

vannikong wrote:I didn't put a comma between the tag and it works well.
Would you kindly explain how you achieved that?

New member

Posts

Joined
Wed Jun 01, 2011 12:30 pm

Post by kaylamatthews » Sat Dec 03, 2011 4:37 pm

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

New member

Posts

Joined
Wed Jun 01, 2011 12:30 pm

Post by kaylamatthews » Sat Dec 03, 2011 4:50 pm

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!!

New member

Posts

Joined
Wed Jun 01, 2011 12:30 pm
Who is online

Users browsing this forum: No registered users and 209 guests