Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Separator for Custom Options / Trennzeichen für individuelle Optionen
 
mariopauly
Jr. Member
 
Total Posts:  4
Joined:  2009-02-04
 

Hey,

is there a possibility to customize the auto-generated sku while using “custom optione”

e.g.:

Basic SKU is:123
Custom-Option SKU is: abc

generated SKU ist: 123-abc
But i wanted it to be: 123###abc

thanks a lot in advance,
mario

 
Magento Community Magento Community
Magento Community
Magento Community
 
FrankWentz
Jr. Member
 
Total Posts:  1
Joined:  2011-09-04
 

Hello Mario,

today I´ve had to deal with the same issue. It´s quite simple (at least for Magento Version 1.4.1.0). Copy the file:

app/code/core/Mage/Catalog/Model/Product/Type/Abstract.php

to:

app/code/local/Mage/Catalog/Model/Product/Type/Abstract.php

in order to make the file update secure. Around line 503:

$skuDelimiter '-';

you shoud be able to replace ‘-’ with any delimiter you like…

Best regards,

Frank

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top