VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: chimairax on June 13, 2019, 10:42:33 AM

Title: Product SKU in language virtuemart_products
Post by: chimairax on June 13, 2019, 10:42:33 AM
Hello again,

I was wondering if it is possible the product SKU to be cloned in my language's virtuemart_products table. Does anybody did it before?

Thanks in advance
Title: Re: Product SKU in language virtuemart_products
Post by: Jörgen on June 13, 2019, 13:00:12 PM
Meaning what ? Copied to cloned item?, copied to other language of same item?

Jörgen @ Kreativ Fotografi
Title: Re: Product SKU in language virtuemart_products
Post by: chimairax on June 13, 2019, 15:14:56 PM
I'm sorry I didn't make clear.

Product SKU is by default only in product_virtuemart but not in product_virtuemart_el_gr table (language table). I want every time I add a new product, the same SKU to be inserted in both tables. In other words a column clone in language table. I thought a temporary solution would be using the GTIN field, as I dont use it on my website, but I have to do it every time manually.
Title: Re: Product SKU in language virtuemart_products
Post by: Jörgen on June 13, 2019, 15:35:50 PM
Have you really tested this ? If you do not enter anything in the second language it will use the sku for the main language.
Entering it in the main language is enough.
Jörgen @ Kreativ Fotografi