Thumbnail Image option is not showing in categories admin panel
The "Thumbnail Image" option is not showing in the category admin panel.
see below image.
is this an issue with magento or issue with what?
category ce-1.9.1.0
add a comment |
The "Thumbnail Image" option is not showing in the category admin panel.
see below image.
is this an issue with magento or issue with what?
category ce-1.9.1.0
add a comment |
The "Thumbnail Image" option is not showing in the category admin panel.
see below image.
is this an issue with magento or issue with what?
category ce-1.9.1.0
The "Thumbnail Image" option is not showing in the category admin panel.
see below image.
is this an issue with magento or issue with what?
category ce-1.9.1.0
category ce-1.9.1.0
edited yesterday
Teja Bhagavan Kollepara
2,93841847
2,93841847
asked Feb 17 '15 at 6:26
Ahmad Darwish
1661518
1661518
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
Magento version 1.9.1.0 removes the feature of adding thumbnail image for category in Admin Panel. The Thumbnail attribute will normally be added when you install the sample data, but you can do it also manually with a few SQL queries or a custom setup script.
eav_attribute table:
INSERT INTO `eav_attribute` (`attribute_id`, `entity_type_id`, `attribute_code`,
`attribute_model`, `backend_model`, `backend_type`, `backend_table`, `frontend_model`,
`frontend_input`, `frontend_label`, `frontend_class`, `source_model`, `is_required`,
`is_user_defined`, `default_value`, `is_unique`, `note`) VALUES(140, 3, 'thumbnail', NULL,
'catalog/category_attribute_backend_image', 'varchar', NULL, NULL, 'image', 'Thumbnail
Image', NULL, NULL, 0, 0, NULL, 0, NULL);
catalog_eav_attribute table:
INSERT INTO `catalog_eav_attribute` (`attribute_id`, `frontend_input_renderer`,
`is_global`, `is_visible`, `is_searchable`, `is_filterable`, `is_comparable`,
`is_visible_on_front`, `is_html_allowed_on_front`, `is_used_for_price_rules`,
`is_filterable_in_search`, `used_in_product_listing`, `used_for_sort_by`,
`is_configurable`, `apply_to`, `is_visible_in_advanced_search`, `position`,
`is_wysiwyg_enabled`, `is_used_for_promo_rules`) VALUES
(140, NULL, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, NULL, 0, 0, 0, 0);
eav_entity_attribute table:
INSERT INTO `eav_entity_attribute` (`entity_attribute_id`, `entity_type_id`,
`attribute_set_id`, `attribute_group_id`, `attribute_id`, `sort_order`)
VALUES (337, 3, 3, 4, 140, 3);
or use the custom setup script:
<?php
$this->startSetup();
$attribute = array(
'thumbnail' => array(
'type' => 'varchar',
'label' => 'Thumbnail Image',
'input' => 'image',
'backend' => 'catalog/category_attribute_backend_image',
'required' => false,
'sort_order' => 5,
'global' => Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_STORE,
'group' => 'General Information',
),
);
$this->addAttribute(Mage_Catalog_Model_Category::ENTITY, 'thumbnail', $attribute);
$this->endSetup();
Thank you for your reply. i prefer using sql, but i'm getting ths error when try to run your sql: #1062 - Duplicate entry '140' for key 'PRIMARY'
– Ahmad Darwish
Feb 17 '15 at 7:41
@AhmadDarwish the ID 140 was just from my example, for the queries 2 and 3 use the ID which was generated for thethumbnail
attribute in theeav_attribute
table.
– Marcel Hauri
Feb 17 '15 at 8:22
It is working, only i've to change the the ID from 140 for my last free ID. thank you
– Ahmad Darwish
Feb 17 '15 at 8:35
This adds it to the database perfectly but is there something missing to actually call it in the frontend now since 1.9 because$_category->getThumbnail()
doesn't work for me...
– zigojacko
Feb 26 '15 at 18:50
add a comment |
In Magento 1.9.X version they disable module for category Thumbnail.
The thumbnail attribute is active by Mage_XmlConnect module.
So you just need to enable Mage_XmlConnect module to fix the issue.
You can find this module in app/etc/Mage_XmlConnect.xml
Now make it active:
replace false
with : true
Now clear your cache.
this worked like a charm for me, the other answer did not.
– Jimmery
Mar 15 '16 at 16:44
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%2f56418%2fthumbnail-image-option-is-not-showing-in-categories-admin-panel%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
Magento version 1.9.1.0 removes the feature of adding thumbnail image for category in Admin Panel. The Thumbnail attribute will normally be added when you install the sample data, but you can do it also manually with a few SQL queries or a custom setup script.
eav_attribute table:
INSERT INTO `eav_attribute` (`attribute_id`, `entity_type_id`, `attribute_code`,
`attribute_model`, `backend_model`, `backend_type`, `backend_table`, `frontend_model`,
`frontend_input`, `frontend_label`, `frontend_class`, `source_model`, `is_required`,
`is_user_defined`, `default_value`, `is_unique`, `note`) VALUES(140, 3, 'thumbnail', NULL,
'catalog/category_attribute_backend_image', 'varchar', NULL, NULL, 'image', 'Thumbnail
Image', NULL, NULL, 0, 0, NULL, 0, NULL);
catalog_eav_attribute table:
INSERT INTO `catalog_eav_attribute` (`attribute_id`, `frontend_input_renderer`,
`is_global`, `is_visible`, `is_searchable`, `is_filterable`, `is_comparable`,
`is_visible_on_front`, `is_html_allowed_on_front`, `is_used_for_price_rules`,
`is_filterable_in_search`, `used_in_product_listing`, `used_for_sort_by`,
`is_configurable`, `apply_to`, `is_visible_in_advanced_search`, `position`,
`is_wysiwyg_enabled`, `is_used_for_promo_rules`) VALUES
(140, NULL, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, NULL, 0, 0, 0, 0);
eav_entity_attribute table:
INSERT INTO `eav_entity_attribute` (`entity_attribute_id`, `entity_type_id`,
`attribute_set_id`, `attribute_group_id`, `attribute_id`, `sort_order`)
VALUES (337, 3, 3, 4, 140, 3);
or use the custom setup script:
<?php
$this->startSetup();
$attribute = array(
'thumbnail' => array(
'type' => 'varchar',
'label' => 'Thumbnail Image',
'input' => 'image',
'backend' => 'catalog/category_attribute_backend_image',
'required' => false,
'sort_order' => 5,
'global' => Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_STORE,
'group' => 'General Information',
),
);
$this->addAttribute(Mage_Catalog_Model_Category::ENTITY, 'thumbnail', $attribute);
$this->endSetup();
Thank you for your reply. i prefer using sql, but i'm getting ths error when try to run your sql: #1062 - Duplicate entry '140' for key 'PRIMARY'
– Ahmad Darwish
Feb 17 '15 at 7:41
@AhmadDarwish the ID 140 was just from my example, for the queries 2 and 3 use the ID which was generated for thethumbnail
attribute in theeav_attribute
table.
– Marcel Hauri
Feb 17 '15 at 8:22
It is working, only i've to change the the ID from 140 for my last free ID. thank you
– Ahmad Darwish
Feb 17 '15 at 8:35
This adds it to the database perfectly but is there something missing to actually call it in the frontend now since 1.9 because$_category->getThumbnail()
doesn't work for me...
– zigojacko
Feb 26 '15 at 18:50
add a comment |
Magento version 1.9.1.0 removes the feature of adding thumbnail image for category in Admin Panel. The Thumbnail attribute will normally be added when you install the sample data, but you can do it also manually with a few SQL queries or a custom setup script.
eav_attribute table:
INSERT INTO `eav_attribute` (`attribute_id`, `entity_type_id`, `attribute_code`,
`attribute_model`, `backend_model`, `backend_type`, `backend_table`, `frontend_model`,
`frontend_input`, `frontend_label`, `frontend_class`, `source_model`, `is_required`,
`is_user_defined`, `default_value`, `is_unique`, `note`) VALUES(140, 3, 'thumbnail', NULL,
'catalog/category_attribute_backend_image', 'varchar', NULL, NULL, 'image', 'Thumbnail
Image', NULL, NULL, 0, 0, NULL, 0, NULL);
catalog_eav_attribute table:
INSERT INTO `catalog_eav_attribute` (`attribute_id`, `frontend_input_renderer`,
`is_global`, `is_visible`, `is_searchable`, `is_filterable`, `is_comparable`,
`is_visible_on_front`, `is_html_allowed_on_front`, `is_used_for_price_rules`,
`is_filterable_in_search`, `used_in_product_listing`, `used_for_sort_by`,
`is_configurable`, `apply_to`, `is_visible_in_advanced_search`, `position`,
`is_wysiwyg_enabled`, `is_used_for_promo_rules`) VALUES
(140, NULL, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, NULL, 0, 0, 0, 0);
eav_entity_attribute table:
INSERT INTO `eav_entity_attribute` (`entity_attribute_id`, `entity_type_id`,
`attribute_set_id`, `attribute_group_id`, `attribute_id`, `sort_order`)
VALUES (337, 3, 3, 4, 140, 3);
or use the custom setup script:
<?php
$this->startSetup();
$attribute = array(
'thumbnail' => array(
'type' => 'varchar',
'label' => 'Thumbnail Image',
'input' => 'image',
'backend' => 'catalog/category_attribute_backend_image',
'required' => false,
'sort_order' => 5,
'global' => Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_STORE,
'group' => 'General Information',
),
);
$this->addAttribute(Mage_Catalog_Model_Category::ENTITY, 'thumbnail', $attribute);
$this->endSetup();
Thank you for your reply. i prefer using sql, but i'm getting ths error when try to run your sql: #1062 - Duplicate entry '140' for key 'PRIMARY'
– Ahmad Darwish
Feb 17 '15 at 7:41
@AhmadDarwish the ID 140 was just from my example, for the queries 2 and 3 use the ID which was generated for thethumbnail
attribute in theeav_attribute
table.
– Marcel Hauri
Feb 17 '15 at 8:22
It is working, only i've to change the the ID from 140 for my last free ID. thank you
– Ahmad Darwish
Feb 17 '15 at 8:35
This adds it to the database perfectly but is there something missing to actually call it in the frontend now since 1.9 because$_category->getThumbnail()
doesn't work for me...
– zigojacko
Feb 26 '15 at 18:50
add a comment |
Magento version 1.9.1.0 removes the feature of adding thumbnail image for category in Admin Panel. The Thumbnail attribute will normally be added when you install the sample data, but you can do it also manually with a few SQL queries or a custom setup script.
eav_attribute table:
INSERT INTO `eav_attribute` (`attribute_id`, `entity_type_id`, `attribute_code`,
`attribute_model`, `backend_model`, `backend_type`, `backend_table`, `frontend_model`,
`frontend_input`, `frontend_label`, `frontend_class`, `source_model`, `is_required`,
`is_user_defined`, `default_value`, `is_unique`, `note`) VALUES(140, 3, 'thumbnail', NULL,
'catalog/category_attribute_backend_image', 'varchar', NULL, NULL, 'image', 'Thumbnail
Image', NULL, NULL, 0, 0, NULL, 0, NULL);
catalog_eav_attribute table:
INSERT INTO `catalog_eav_attribute` (`attribute_id`, `frontend_input_renderer`,
`is_global`, `is_visible`, `is_searchable`, `is_filterable`, `is_comparable`,
`is_visible_on_front`, `is_html_allowed_on_front`, `is_used_for_price_rules`,
`is_filterable_in_search`, `used_in_product_listing`, `used_for_sort_by`,
`is_configurable`, `apply_to`, `is_visible_in_advanced_search`, `position`,
`is_wysiwyg_enabled`, `is_used_for_promo_rules`) VALUES
(140, NULL, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, NULL, 0, 0, 0, 0);
eav_entity_attribute table:
INSERT INTO `eav_entity_attribute` (`entity_attribute_id`, `entity_type_id`,
`attribute_set_id`, `attribute_group_id`, `attribute_id`, `sort_order`)
VALUES (337, 3, 3, 4, 140, 3);
or use the custom setup script:
<?php
$this->startSetup();
$attribute = array(
'thumbnail' => array(
'type' => 'varchar',
'label' => 'Thumbnail Image',
'input' => 'image',
'backend' => 'catalog/category_attribute_backend_image',
'required' => false,
'sort_order' => 5,
'global' => Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_STORE,
'group' => 'General Information',
),
);
$this->addAttribute(Mage_Catalog_Model_Category::ENTITY, 'thumbnail', $attribute);
$this->endSetup();
Magento version 1.9.1.0 removes the feature of adding thumbnail image for category in Admin Panel. The Thumbnail attribute will normally be added when you install the sample data, but you can do it also manually with a few SQL queries or a custom setup script.
eav_attribute table:
INSERT INTO `eav_attribute` (`attribute_id`, `entity_type_id`, `attribute_code`,
`attribute_model`, `backend_model`, `backend_type`, `backend_table`, `frontend_model`,
`frontend_input`, `frontend_label`, `frontend_class`, `source_model`, `is_required`,
`is_user_defined`, `default_value`, `is_unique`, `note`) VALUES(140, 3, 'thumbnail', NULL,
'catalog/category_attribute_backend_image', 'varchar', NULL, NULL, 'image', 'Thumbnail
Image', NULL, NULL, 0, 0, NULL, 0, NULL);
catalog_eav_attribute table:
INSERT INTO `catalog_eav_attribute` (`attribute_id`, `frontend_input_renderer`,
`is_global`, `is_visible`, `is_searchable`, `is_filterable`, `is_comparable`,
`is_visible_on_front`, `is_html_allowed_on_front`, `is_used_for_price_rules`,
`is_filterable_in_search`, `used_in_product_listing`, `used_for_sort_by`,
`is_configurable`, `apply_to`, `is_visible_in_advanced_search`, `position`,
`is_wysiwyg_enabled`, `is_used_for_promo_rules`) VALUES
(140, NULL, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, NULL, 0, 0, 0, 0);
eav_entity_attribute table:
INSERT INTO `eav_entity_attribute` (`entity_attribute_id`, `entity_type_id`,
`attribute_set_id`, `attribute_group_id`, `attribute_id`, `sort_order`)
VALUES (337, 3, 3, 4, 140, 3);
or use the custom setup script:
<?php
$this->startSetup();
$attribute = array(
'thumbnail' => array(
'type' => 'varchar',
'label' => 'Thumbnail Image',
'input' => 'image',
'backend' => 'catalog/category_attribute_backend_image',
'required' => false,
'sort_order' => 5,
'global' => Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_STORE,
'group' => 'General Information',
),
);
$this->addAttribute(Mage_Catalog_Model_Category::ENTITY, 'thumbnail', $attribute);
$this->endSetup();
answered Feb 17 '15 at 7:30
Marcel Hauri
514314
514314
Thank you for your reply. i prefer using sql, but i'm getting ths error when try to run your sql: #1062 - Duplicate entry '140' for key 'PRIMARY'
– Ahmad Darwish
Feb 17 '15 at 7:41
@AhmadDarwish the ID 140 was just from my example, for the queries 2 and 3 use the ID which was generated for thethumbnail
attribute in theeav_attribute
table.
– Marcel Hauri
Feb 17 '15 at 8:22
It is working, only i've to change the the ID from 140 for my last free ID. thank you
– Ahmad Darwish
Feb 17 '15 at 8:35
This adds it to the database perfectly but is there something missing to actually call it in the frontend now since 1.9 because$_category->getThumbnail()
doesn't work for me...
– zigojacko
Feb 26 '15 at 18:50
add a comment |
Thank you for your reply. i prefer using sql, but i'm getting ths error when try to run your sql: #1062 - Duplicate entry '140' for key 'PRIMARY'
– Ahmad Darwish
Feb 17 '15 at 7:41
@AhmadDarwish the ID 140 was just from my example, for the queries 2 and 3 use the ID which was generated for thethumbnail
attribute in theeav_attribute
table.
– Marcel Hauri
Feb 17 '15 at 8:22
It is working, only i've to change the the ID from 140 for my last free ID. thank you
– Ahmad Darwish
Feb 17 '15 at 8:35
This adds it to the database perfectly but is there something missing to actually call it in the frontend now since 1.9 because$_category->getThumbnail()
doesn't work for me...
– zigojacko
Feb 26 '15 at 18:50
Thank you for your reply. i prefer using sql, but i'm getting ths error when try to run your sql: #1062 - Duplicate entry '140' for key 'PRIMARY'
– Ahmad Darwish
Feb 17 '15 at 7:41
Thank you for your reply. i prefer using sql, but i'm getting ths error when try to run your sql: #1062 - Duplicate entry '140' for key 'PRIMARY'
– Ahmad Darwish
Feb 17 '15 at 7:41
@AhmadDarwish the ID 140 was just from my example, for the queries 2 and 3 use the ID which was generated for the
thumbnail
attribute in the eav_attribute
table.– Marcel Hauri
Feb 17 '15 at 8:22
@AhmadDarwish the ID 140 was just from my example, for the queries 2 and 3 use the ID which was generated for the
thumbnail
attribute in the eav_attribute
table.– Marcel Hauri
Feb 17 '15 at 8:22
It is working, only i've to change the the ID from 140 for my last free ID. thank you
– Ahmad Darwish
Feb 17 '15 at 8:35
It is working, only i've to change the the ID from 140 for my last free ID. thank you
– Ahmad Darwish
Feb 17 '15 at 8:35
This adds it to the database perfectly but is there something missing to actually call it in the frontend now since 1.9 because
$_category->getThumbnail()
doesn't work for me...– zigojacko
Feb 26 '15 at 18:50
This adds it to the database perfectly but is there something missing to actually call it in the frontend now since 1.9 because
$_category->getThumbnail()
doesn't work for me...– zigojacko
Feb 26 '15 at 18:50
add a comment |
In Magento 1.9.X version they disable module for category Thumbnail.
The thumbnail attribute is active by Mage_XmlConnect module.
So you just need to enable Mage_XmlConnect module to fix the issue.
You can find this module in app/etc/Mage_XmlConnect.xml
Now make it active:
replace false
with : true
Now clear your cache.
this worked like a charm for me, the other answer did not.
– Jimmery
Mar 15 '16 at 16:44
add a comment |
In Magento 1.9.X version they disable module for category Thumbnail.
The thumbnail attribute is active by Mage_XmlConnect module.
So you just need to enable Mage_XmlConnect module to fix the issue.
You can find this module in app/etc/Mage_XmlConnect.xml
Now make it active:
replace false
with : true
Now clear your cache.
this worked like a charm for me, the other answer did not.
– Jimmery
Mar 15 '16 at 16:44
add a comment |
In Magento 1.9.X version they disable module for category Thumbnail.
The thumbnail attribute is active by Mage_XmlConnect module.
So you just need to enable Mage_XmlConnect module to fix the issue.
You can find this module in app/etc/Mage_XmlConnect.xml
Now make it active:
replace false
with : true
Now clear your cache.
In Magento 1.9.X version they disable module for category Thumbnail.
The thumbnail attribute is active by Mage_XmlConnect module.
So you just need to enable Mage_XmlConnect module to fix the issue.
You can find this module in app/etc/Mage_XmlConnect.xml
Now make it active:
replace false
with : true
Now clear your cache.
answered Feb 11 '16 at 5:24
Roshni
212
212
this worked like a charm for me, the other answer did not.
– Jimmery
Mar 15 '16 at 16:44
add a comment |
this worked like a charm for me, the other answer did not.
– Jimmery
Mar 15 '16 at 16:44
this worked like a charm for me, the other answer did not.
– Jimmery
Mar 15 '16 at 16:44
this worked like a charm for me, the other answer did not.
– Jimmery
Mar 15 '16 at 16:44
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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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%2f56418%2fthumbnail-image-option-is-not-showing-in-categories-admin-panel%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