Skip to content

magento man

Issue with getting custom review collection based on product entity ids array with limited records

I am using this class to get review collection. MagentoReviewModelResourceModelReviewCollectionFactory I am using following function to get reviews collection based on product entity ids and my requirement is get only 50 reviews from all the available reviews. public function getReviewsCollection(){… Read More »Issue with getting custom review collection based on product entity ids array with limited records

General hosting questions

I have a few questions after being ‘out of the game’ for a few years… 1) Is geolocation (server IP address) still an importing search e… | Read the rest of https://www.webhostingtalk.com/showthread.php?t=1895882&goto=newpost

how do I create a custom GraphQL query that fetches a list of products in Magento 2.4.1

In my schema.graphqls file I’ve created this Query type Query { getLinkedProductsByGroups(groups: [String]): [LinkedProductsByGroup] @resolver(class: “Vendor\ProductDisplay\Model\Resolver\LinkedProductsByGroups”) } type LinkedProductsByGroup { group: String products: [ProductInterface] } I’ve created my resolver <?php /* * Copyright (c) 2023. Vendor TECHNOLOGIES */ namespace VendorProductDisplayModelResolver;… Read More »how do I create a custom GraphQL query that fetches a list of products in Magento 2.4.1

I’m getting this error: Class “Zend_Validate_File_Upload” not found in Magento 2.4.6

I have a Magento 2.4.6 install and Im having a problem with this module: Bss grouped-product-with-custom-option Im getting this error There is an error in /chroot/home/abc/abc.abc.io/html/vendor/bsscommerce/grouped-product-with-custom-option/Model/Validate/File/Upload.php at line: 21 Class “Zend_Validate_File_Upload” not found I’ve had a few other issues with… Read More »I’m getting this error: Class “Zend_Validate_File_Upload” not found in Magento 2.4.6

Mageplaza Call to undefined method getCollectionClone()

I am encountering the following problem with Magento and the Mageplaza plugin: Call to undefined method MagentoCatalogSearchModelResourceModelFulltextCollectionInterceptor::getCollectionClone() at /app/app/code/Mageplaza/LayeredNavigation/Model/Layer/Filter/Price.php:179)” This is the code snippet in the Price.php file: /** @var Collection $productCollection */ $productCollection = $this->getLayer()->getProductCollection() ->getCollectionClone() ->setGetAllData(true) ->removeAttributeSearch([‘price.from’, ‘price.to’])… Read More »Mageplaza Call to undefined method getCollectionClone()