If a product is listed in multiple categories (which is common in most stores), Magento does not prioritise how these are returned from various system requests for a products’ category i.e. Breadcrumbs, Google product feed generation etc. This task is to allow the admin to prioritise category returns.
Magento will by default return just the first numerically from the “catalog/category” model (“catalog_category_product” table)
Magento version 1.9
1) Category attribute 'category_priority' has been added via the code.
// Create Category Attribute
$installer = new Mage_Sales_Model_Mysql4_Setup;
$attribute = array(
'type' => 'int',
'label'=> 'Category Priority',
'input' => 'text',
'global' => Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_GLOBAL,
'visible' => true,
'required' => false,
'user_defined' => true,
'default' => "",
'group' => "General Information"
$installer->addAttribute('catalog_category', 'category_priority', $attribute);
2) The admin will maintain this field with a numeric value to indicate priority i.e. -1 for top priority or 999 for no priority etc
3) Magento returns the product categories via “getCategortyIds()” via app/code/core/Mage/Catalog/Model/Resource/Product.php
4) The task is to either;
4a) Hack/update the core code function getCategortyIds() to join the data from the field 'category_priority' in 'catalog_category' to data from the “catalog/category” model (“catalog_category_product” table) are sort the return via 'category_priority'
4b) Update the function getCategortyIds() via local or community code pool to join the data from the field 'category_priority' in 'catalog_category' to data from the “catalog/category” model (“catalog_category_product” table) are sort the return via 'category_priority
Dear Client. Your description is very clear and includes all instructions also. I can do it in one day without touching core file. I am going to create extension and rewrite that class. Thanks Relevant Skills Plus
38 freelance font une offre moyenne de £180 pour ce travail
Hello, My understanding about the project is that you are looking out for prioritization of category returns on Magento website. Kindly share the website URL and private message to initiate discussion. We have ex Plus
Hi There, Thank you for the opportunity. You are looking to develop an option where admin can prioritize category returns i.e. Breadcrumbs, Google product feed generation etc. Relevant Skills and Experience We have 10 Plus
we've accomplished more than 200 projects of Magento Import and can perform your project successfully as well. Relevant Skills and Experience We're expert in Magento . Kindly check our employer reviews & completed pro Plus
Hi i will do from various system requests for a products’ category i.e. Breadcrumbs, Google product feed generation etc Customized site : [login to view URL] (1.9) vehicles [login to view URL] col Plus
Hello. Idea looks clear, ready to develop this new functions. Have big experience in magento. Relevant Skills and Experience php, mysql, magento Proposed Milestones £277 GBP - end work
Hi sir, Thank you for giving opportunity for biding... we have gone through your requirements and we can do your Product Category Priority task for magento according to your exact requirements. Relevant Skills and E Plus
I 'm a professional Magento 2 developer and I have more then 6+ years of successful experience in Magento e-Commerce Relevant Skills and Experience Some Latest Magento Projects:- ------------------------ https://www. Plus
I will modify the current function and implement as you mentioned in your word document. Please open message box to discuss further. Relevant Skills and Experience I have 9 years of experience in PHP+ framework and ha Plus
Hi can I help you ? I am magento developer and designer, I am interested to work with you, I will do this job, can we discuss ? waiting for your reply. bye. Relevant Skills and Experience magento,php Proposed Milesto Plus
Hey, Hope you are doing good! I understand that you need to do some customization in your website with all the required features and I am pretty sure, if I am given a chance, I can ake a significant contribution t Plus
Hey, I have 5 year experience. I can share my work experience with you. I'm always available here .so Please send me a message once for more discussion.
Greetings! I have analysed the attached Zip file and I am ready to assist you with this task.I am well versed with skills which are required for this project and Please initiate interview ASAP. Relevant Skills and Exp Plus
hello i am magento certified developer and i can join multiple categories product while listing and i will add one custom field with category priority to show first category [login to view URL] Relevant Skills and Experience Plus
Hello Sir/mam, As a Web & App development company we have investigate your project and find that we can do this but first i would like to show u my exp. Relevant Skills and Experience Our specialities: - iOS/Android d Plus