Product Attribute - Multiple Select Not Saving
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
Hi I have products with a fair few custom attributes which are all working fine. I have two Multiple selects however that do not save what I enter in them!
All other text fields, dropdowns etc all save fine but it doesn't matter if I select one or ten options on the multiple selects they don't save, save and continue or just save, it doesn't make a difference!
Has anyone had this occur or does anyone have any suggestions?
Thanks!
magento-1.9 attributes products
add a comment |
Hi I have products with a fair few custom attributes which are all working fine. I have two Multiple selects however that do not save what I enter in them!
All other text fields, dropdowns etc all save fine but it doesn't matter if I select one or ten options on the multiple selects they don't save, save and continue or just save, it doesn't make a difference!
Has anyone had this occur or does anyone have any suggestions?
Thanks!
magento-1.9 attributes products
did you create this multi select attribute directly from admin or by any script ?
– Akhilesh Patel
Oct 1 '15 at 16:37
Try to do a cache flush
– Milan Simek
Oct 2 '15 at 0:36
Hi, I tried clearing cache and index with no luck. It is just the default admin area way of doing it no custom scripts used :(
– KiwisTasteGood
Oct 2 '15 at 7:52
add a comment |
Hi I have products with a fair few custom attributes which are all working fine. I have two Multiple selects however that do not save what I enter in them!
All other text fields, dropdowns etc all save fine but it doesn't matter if I select one or ten options on the multiple selects they don't save, save and continue or just save, it doesn't make a difference!
Has anyone had this occur or does anyone have any suggestions?
Thanks!
magento-1.9 attributes products
Hi I have products with a fair few custom attributes which are all working fine. I have two Multiple selects however that do not save what I enter in them!
All other text fields, dropdowns etc all save fine but it doesn't matter if I select one or ten options on the multiple selects they don't save, save and continue or just save, it doesn't make a difference!
Has anyone had this occur or does anyone have any suggestions?
Thanks!
magento-1.9 attributes products
magento-1.9 attributes products
asked Oct 1 '15 at 14:59
KiwisTasteGoodKiwisTasteGood
482429
482429
did you create this multi select attribute directly from admin or by any script ?
– Akhilesh Patel
Oct 1 '15 at 16:37
Try to do a cache flush
– Milan Simek
Oct 2 '15 at 0:36
Hi, I tried clearing cache and index with no luck. It is just the default admin area way of doing it no custom scripts used :(
– KiwisTasteGood
Oct 2 '15 at 7:52
add a comment |
did you create this multi select attribute directly from admin or by any script ?
– Akhilesh Patel
Oct 1 '15 at 16:37
Try to do a cache flush
– Milan Simek
Oct 2 '15 at 0:36
Hi, I tried clearing cache and index with no luck. It is just the default admin area way of doing it no custom scripts used :(
– KiwisTasteGood
Oct 2 '15 at 7:52
did you create this multi select attribute directly from admin or by any script ?
– Akhilesh Patel
Oct 1 '15 at 16:37
did you create this multi select attribute directly from admin or by any script ?
– Akhilesh Patel
Oct 1 '15 at 16:37
Try to do a cache flush
– Milan Simek
Oct 2 '15 at 0:36
Try to do a cache flush
– Milan Simek
Oct 2 '15 at 0:36
Hi, I tried clearing cache and index with no luck. It is just the default admin area way of doing it no custom scripts used :(
– KiwisTasteGood
Oct 2 '15 at 7:52
Hi, I tried clearing cache and index with no luck. It is just the default admin area way of doing it no custom scripts used :(
– KiwisTasteGood
Oct 2 '15 at 7:52
add a comment |
2 Answers
2
active
oldest
votes
Check your eav_attribute
table for that attribute. The backend_type
should be text
(not varchar
), and the backend_model
should be MagentoEavModelEntityAttributeBackendArrayBackend
add a comment |
try this
'occasion' => [
'label' => "Occasion",
'type' => 'varchar',
'input' => 'multiselect',
'source' => "MagentoEavModelEntityAttributeSourceTable",
'default' => '',
'searchable' => false,
'filterable' => false,
'option' => ['values' => ['Wedding', 'Anniversary','Evening','Office Wear','Engagement','Everyday','Desk to dinner','Party Wear','Gifting','Rakshabandhan','Party','Birthday','Valentine_day']],
],
let me know if any issues
– mohith
11 hours ago
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "479"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f84937%2fproduct-attribute-multiple-select-not-saving%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Check your eav_attribute
table for that attribute. The backend_type
should be text
(not varchar
), and the backend_model
should be MagentoEavModelEntityAttributeBackendArrayBackend
add a comment |
Check your eav_attribute
table for that attribute. The backend_type
should be text
(not varchar
), and the backend_model
should be MagentoEavModelEntityAttributeBackendArrayBackend
add a comment |
Check your eav_attribute
table for that attribute. The backend_type
should be text
(not varchar
), and the backend_model
should be MagentoEavModelEntityAttributeBackendArrayBackend
Check your eav_attribute
table for that attribute. The backend_type
should be text
(not varchar
), and the backend_model
should be MagentoEavModelEntityAttributeBackendArrayBackend
answered Jul 19 '18 at 15:44
Collin AndersonCollin Anderson
1036
1036
add a comment |
add a comment |
try this
'occasion' => [
'label' => "Occasion",
'type' => 'varchar',
'input' => 'multiselect',
'source' => "MagentoEavModelEntityAttributeSourceTable",
'default' => '',
'searchable' => false,
'filterable' => false,
'option' => ['values' => ['Wedding', 'Anniversary','Evening','Office Wear','Engagement','Everyday','Desk to dinner','Party Wear','Gifting','Rakshabandhan','Party','Birthday','Valentine_day']],
],
let me know if any issues
– mohith
11 hours ago
add a comment |
try this
'occasion' => [
'label' => "Occasion",
'type' => 'varchar',
'input' => 'multiselect',
'source' => "MagentoEavModelEntityAttributeSourceTable",
'default' => '',
'searchable' => false,
'filterable' => false,
'option' => ['values' => ['Wedding', 'Anniversary','Evening','Office Wear','Engagement','Everyday','Desk to dinner','Party Wear','Gifting','Rakshabandhan','Party','Birthday','Valentine_day']],
],
let me know if any issues
– mohith
11 hours ago
add a comment |
try this
'occasion' => [
'label' => "Occasion",
'type' => 'varchar',
'input' => 'multiselect',
'source' => "MagentoEavModelEntityAttributeSourceTable",
'default' => '',
'searchable' => false,
'filterable' => false,
'option' => ['values' => ['Wedding', 'Anniversary','Evening','Office Wear','Engagement','Everyday','Desk to dinner','Party Wear','Gifting','Rakshabandhan','Party','Birthday','Valentine_day']],
],
try this
'occasion' => [
'label' => "Occasion",
'type' => 'varchar',
'input' => 'multiselect',
'source' => "MagentoEavModelEntityAttributeSourceTable",
'default' => '',
'searchable' => false,
'filterable' => false,
'option' => ['values' => ['Wedding', 'Anniversary','Evening','Office Wear','Engagement','Everyday','Desk to dinner','Party Wear','Gifting','Rakshabandhan','Party','Birthday','Valentine_day']],
],
answered 11 hours ago
mohithmohith
713
713
let me know if any issues
– mohith
11 hours ago
add a comment |
let me know if any issues
– mohith
11 hours ago
let me know if any issues
– mohith
11 hours ago
let me know if any issues
– mohith
11 hours ago
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f84937%2fproduct-attribute-multiple-select-not-saving%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
did you create this multi select attribute directly from admin or by any script ?
– Akhilesh Patel
Oct 1 '15 at 16:37
Try to do a cache flush
– Milan Simek
Oct 2 '15 at 0:36
Hi, I tried clearing cache and index with no luck. It is just the default admin area way of doing it no custom scripts used :(
– KiwisTasteGood
Oct 2 '15 at 7:52