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

ModelCatalogProduct changed #2531

Closed
wants to merge 1 commit into from
Closed

ModelCatalogProduct changed #2531

wants to merge 1 commit into from

Conversation

deniskoronets
Copy link

ModelCatalogProduct. Fixed caching at getLatestProducts, added caching to getPopularProducts.
At getLatestProducts method, if there are no cached results, php converting false to array: $product_data[$result['product_id']] = $this->getProduct($result['product_id']);

fixed caching at getLatestProducts
@danielkerr
Copy link
Member

you couldn't keep to the opencart coding standard?

any way added manually.

@deniskoronets
Copy link
Author

sorry for broken tabs. I think that my text editor use tabs for indent, but in project is spaces. Or conversely.

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.

2 participants