Skip to content

magento man

policy

Hi. Today I have a hosting that is very strict as hosting. It’s like they’re thinking of suspending my website if I don’t remove some con… | Read the rest of https://www.webhostingtalk.com/showthread.php?t=1888758&goto=newpost

Graphql returns empty array

I’m using graphql to get data to my PWA frontend project.Following is my schema.graphqls type Query { comparelist: [ComparelistOutput] @resolver(class: “NeoSolax\CompareList\Model\Resolver\ComparelistItemResolver”) @doc(description: “An array of items in the customer’s compare list”) } type ComparelistOutput { id:String sku:String url_key:String } ComparelistItemResolver.php… Read More »Graphql returns empty array

How to get Logged in Customer ID

i am trying to get customer id of a logged in customer but its does not seems to be working in my block <?php namespace VendorModuleBlock; use MagentoFrameworkViewElementTemplate; use MagentoBackendBlockTemplateContext; class Rfq extends MagentoFrameworkViewElementTemplate { protected $_customerSession; public function __construct(Context… Read More »How to get Logged in Customer ID