Find Jobs
Hire Freelancers

Magento hide categories if no products for current store

$30-250 USD

Igangværende
Slået op cirka 11 år siden

$30-250 USD

Betales ved levering
I have a Magento multi-site implemented using Magento 1.7CE. I have [login to view URL] where the Magento installation exists and [login to view URL] with only a few key files. The sites share one product catalogue, but some products are not sold on the other. The products are properly set up in the backend with the relevant websites set at the product level. The issue I have is that the category tree (navigation) appears the same on both sites even though they may be empty. What I want is for categories to appear or NOT appear based on the count of products in each category that belong to each site. Also, this logic should be recursive; if there is no product in parent but there is in child, the parent and child should appear. I have followed a tutorial at [login to view URL] and implemented, but it doesn't work because it does a product count for the entire category, NOT the number of products that belong to current site in that category. Thus, even if there are no product assigned to the current store, the category still appears, even though it has no products. So, I need someone to modify the way this module works as follows: - Alter the [login to view URL] to find the current store and count the number of products assigned to each category that belong to current store. - Where the count is zero, remove the category from the collection. - Where a child exists that has a product count > 0, include the parent and child in the collection. There is some code given in the comments under the article (URL above) to do this.
Projekt-ID: 4314468

Om projektet

2 forslag
Projekt på afstand
Aktiv 11 år siden

Leder du efter muligheder for at tjene penge?

Fordele ved budafgivning på Freelancer

Fastsæt dit budget og din tidsramme
Bliv betalt for dit arbejde
Oprids dit forslag
Det er gratis at skrive sig op og byde på jobs
Tildel til:
Brug Avatar.
Hello Please read more than private message thank you
$200 USD på 5 dage
4,6 (38 anmeldelser)
5,7
5,7
2 freelancere byder i gennemsnit $138 USD på dette job
Brug Avatar.
I'm currently working at Magento Silver Partner and I also knew what need to be done on this project. It would be great if I could help you handle this issue.
$100 USD på 1 dag
5,0 (2 anmeldelser)
1,0
1,0
Brug Avatar.
Hello, Happy to jump in and help!
$175 USD på 7 dage
0,0 (0 anmeldelser)
0,0
0,0

Om klienten

Flag for AUSTRALIA
Elwood, Australia
5,0
4
Betalingsmetode verificeret
Medlem siden okt. 28, 2012

Klientverificering

Tak! Vi har sendt dig en e-mail med et link, så du kan modtage din kredit.
Noget gik galt, da vi forsøgte at sende din mail. Prøv venligst igen.
Registrerede brugere Oprettede jobs i alt
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Indlæser forhåndsvisning
Geolokalisering er tilladt.
Din session er udløbet, og du er blevet logget ud. Log venligst ind igen.