Magento Product Category Priority

Completed Posted 6 years ago Paid on delivery
Completed Paid on delivery

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";
Mage::app()->setCurrentStore(Mage::getModel('core/store')->load(Mage_Core_Model_App::ADMIN_STORE_ID));
$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);
$installer->endSetup();*/

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'

Or

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

JavaScript Magento MySQL PHP Software Architecture

Project ID: #15812352

About the project

37 proposals Remote project Active 6 years ago

Awarded to:

HuangTiger

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 More

£100 GBP in 1 day
(22 Reviews)
5.1

37 freelancers are bidding on average £180 for this job

sanjay2004

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 More

£226 GBP in 7 days
(762 Reviews)
9.9
shivmirthyusl

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 More

£200 GBP in 3 days
(265 Reviews)
8.5
gursukh

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 in 2 days
(265 Reviews)
7.0
zyeloncomputech

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 More

£150 GBP in 3 days
(214 Reviews)
7.0
buzzz

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 in 2 days
(450 Reviews)
7.7
safecodedev

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 More

£230 GBP in 4 days
(158 Reviews)
6.5
topithub

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

£150 GBP in 3 days
(36 Reviews)
6.4
salienttemplates

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 More

£200 GBP in 3 days
(121 Reviews)
6.4
justdotweaks

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 More

£150 GBP in 3 days
(31 Reviews)
5.5
wpwooguys

Hi, Can we have a brief discuss over chat I check image do you just need to fix retrieving path at checkout page? I can fix this. Thanks:) Relevant Skills and Experience Javascript, Magento, MySQL, PHP, Proposed Mil More

£150 GBP in 3 days
(25 Reviews)
5.6
rsingh360

I reviewed your zip file. I need to check current code and discuss you requirement in detail. Let have a short discussion IM so I will start work asap. Relevant Skills and Experience My Self- Rajinder Singh and workin More

£211 GBP in 5 days
(3 Reviews)
4.1
reinforce817

Let's hire me, I will start work ASAP. Relevant Skills and Experience Expert in Magento/ WordPress cms with E-commerce/Woo-commerce and opencart solutions, Proposed Milestones £133 GBP - Magento Product Category Prio More

£133 GBP in 3 days
(2 Reviews)
2.6
Nkats

Dear Client, N'KATS is Expert to creating Windows, Android & Web Applications & Designing. We are very passionate about what we do. Relevant Skills and Experience With the help of our 7+ years of experienced Develope More

£100 GBP in 3 days
(2 Reviews)
1.5
rupaneeraj

Hello we have extensive knowledge and 5+ years of experience in Website Design and development, Mobile app development, SEO,PHP Bootstrap Material Css Mysql Oracle Mongo DB Manymore Relevant Skills and Experience Jav More

£150 GBP in 3 days
(2 Reviews)
2.4