Magento Product Category Priority

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
require_once "../app/Mage.php";
$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

Taidot: Javascript, Magento, MySQL, PHP, tietojärjestelmäarkkitehtuuri

Näytä lisää: magento product slider category, magento add category search result products, magento product images showing admin, php, mysql, html, website design, magento, wordpress, shopping carts, javascript, magento developer, e-commerce, magento product image url admin panel, restrict manage products admin magento, magento product category import, virtuemart category displaying amount products, magento tutorials home page salling products, magento product showing category, magento product count category

Tietoa työnantajasta:
( 2 arvostelua ) Northampton, United Kingdom

Projektin tunnus: #15812352

Myönnetty käyttäjälle:


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 Lisää

£100 GBP 1 päivässä
(12 Arvostelua)

38 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön


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 Lisää

£226 GBP 7 päivässä
(719 arvostelua)

Dear ali581711bbd341e! We are highly interested to work for you. Our Magento's projects: [login to view URL] Our latest United Kingdom's projects: [login to view URL] Best re Lisää

£179 GBP 5 päivässä
(939 arvostelua)

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 Lisää

£200 GBP 3 päivässä
(234 arvostelua)

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 Lisää

£142 GBP 3 päivässä
(242 arvostelua)

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 Lisää

£250 GBP 7 päivässä
(250 arvostelua)
£200 GBP 3 päivässä
(107 arvostelua)

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

£277 GBP 2 päivässä
(450 arvostelua)

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 Lisää

£150 GBP 3 päivässä
(193 arvostelua)

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. Lisää

£257 GBP 3 päivässä
(105 arvostelua)
£100 GBP 3 päivässä
(151 arvostelua)
£133 GBP 3 päivässä
(59 arvostelua)

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 Lisää

£150 GBP 4 päivässä
(112 arvostelua)

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 Lisää

£230 GBP 4 päivässä
(148 arvostelua)

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 Lisää

£277 GBP 3 päivässä
(34 arvostelua)

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.

£111 GBP 2 päivässä
(70 arvostelua)

Magento Product Category Priority Relevant Skills and Experience Javascript, Magento, MySQL, PHP, Software Architecture 7 years experience Proposed Milestones £150 GBP - task

£150 GBP 3 päivässä
(26 arvostelua)

Hello, We are experts in HTML,CSS,Boostrap,Jquery,Javascript,core Php, Magento, WordPress, Codeigniter, and many other open source framework Thanks Relevant Skills and Experience Hello, We are experts in HTML,CSS,Boos Lisää

£200 GBP 3 päivässä
(109 arvostelua)

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 Lisää

£500 GBP 3 päivässä
(21 arvostelua)

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 Lisää

£222 GBP 3 päivässä
(25 arvostelua)

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 Lisää

£150 GBP 3 päivässä
(24 arvostelua)