Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Always render the listing on categories by default" #750

Merged
merged 1 commit into from
Feb 27, 2025

Conversation

royduin
Copy link
Member

@royduin royduin commented Feb 27, 2025

Reverts #749, as without changing the categories to actually be anchors you'll end up with an empty page. For the test and demo environments I added this to the deploy scripts:

# Make sure all categories are anchors
$FORGE_PHP artisan tinker --execute="DB::update('UPDATE catalog_category_entity_int SET value = 1 WHERE attribute_id = 54')"
# Hide categories without products
$FORGE_PHP artisan tinker --execute="DB::update('UPDATE catalog_category_entity_int SET value = 0 WHERE attribute_id = 69 AND entity_id IN (37, 38)')"
docker exec MAGENTO-CONTAINER bin/magento cache:clean
docker exec MAGENTO-CONTAINER bin/magento indexer:reindex

@royduin royduin requested a review from indykoning as a code owner February 27, 2025 13:27
@royduin royduin merged commit 73de942 into master Feb 27, 2025
12 checks passed
@royduin royduin deleted the revert-749-category-listings branch February 27, 2025 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant