Author Topic: Using Comma In Attributes  (Read 5962 times)


  • Beginner
  • *
  • Posts: 32
Using Comma In Attributes
« on: March 01, 2011, 02:06:37 am »

This is a hack to use comma, ",", in advanced attributes.
Basically "," was being used to seperate attribute options, now I have used asterix, "*" instead.

So now you will not be able to use "*"  in advanced attributes.

I have hacked the following function in ps_product_attribute.php

Code: [Select]

All the modified lines will have the following comment on them

Code: [Select]
//using * instead of , vmlab
Hope this helps people

[attachment cleanup by admin]
If my hacks or tweaks have helped you in anyway, please consider making a donation to via PayPal

You can check out my hacks @

VM Attribute Manager

VM Price Manager


  • Beginner
  • *
  • Posts: 13
Re: Using Comma In Attributes
« Reply #1 on: August 25, 2011, 18:14:22 pm »
where i can put this file in my site? VM 1.1.9, J1.5


  • Beginner
  • *
  • Posts: 3
Re: Using Comma In Attributes
« Reply #2 on: March 16, 2013, 18:45:15 pm »
here: administrator/components/com_virtuemart/classes/

(i know that's old toppic.. but it's for future useres;) )

but.. if you've got some products in your database, you have to change every record in jos_vm_products in column attribute


  • Beginner
  • *
  • Posts: 11
Re: Using Comma In Attributes
« Reply #3 on: April 30, 2013, 22:57:29 pm »
Has anyone ever figured out how to use a colon ":" in the attributes?  We need to be able to put time in the attributes, but when we do so, the attribute price will not adjust.