How can I set server status 404 with vue component page_not_found? Now server status 404 only with dinamic catalog undefined pages.
Magento
I have just upgraded my magento from 2.4.0 to 2.4.6 and also upgraded my php 7.4 to 8.2. All the commands are running fine but while reindexing i am getting this error and on frontend also. Can anyone tell me why this error is showing on frontend Type Error occurred […]
This is the function that captures some data protected function captureRequestData(RequestInterface $oRequest, $aPostParams) { return [ 'request' => [ 'status' =>'pending', 'params' => json_encode($aPostParams), 'endpoint' => $oRequest->getRequestUri(), 'view' => json_encode($oRequest->getHeaders()->toArray()), 'event' => $this->_oEventobserver->getEventName(), 'data' => json_encode($this->_oEventobserver->getEventData() ), 'ip' => $oRequest->getClientIp(), 'session' => $this->_oCustomerSession->getCustomer()->getName(), 'customer_id' => $this->_oCustomerSession->getCustomerId(), 'created_at' => date('Y-m-d H:i:s'), […]
I want to remove everything which is inside the red part. All area under “Order View” include “Order view” it self. After removing this part the detail of order should start from where the “Order view” currently present. I mean to say that “Order & Account Information” should start from […]
I have created one custom command. That command is used when i need to generate some specific file. When i run setup:upgrade command then i give me error like “Area code not set“. Below is code example. $this->state->setAreaCode(Area::AREA_FRONTEND); if ($input->getOption(self::GENERATE_NEW_MENU)) { $output->writeln('<info>Generating static navigation:<info>'); $generated = $this->abcModel->generateNavigation(1); if ($generated) { […]
When trying to update products via Magento async API, tasks are marked as succesfully accomplished, but products are not changed. Almost all values under custom_attributes, including “tax_class_id” are not updated, except the “cost”. Standard attributes “price” and “qty” are always updated. Payload example: [ { "product": { "sku": 1000, "custom_attributes": […]
I have pwa-studio with cenia theme installed. but like to switch back to default magento theme. how can i do this without deleting pwa-studio and cenia theme from my server.
I have no idea why my getSelect printing query without echo & __toString. public function loadOrdersCollection($orders): mixed { $pac_orders = array(); $orderCollection = $this->orderCollection->create()->addFieldToFilter('increment_id', $orders, 'in'); $paymentMethods = explode(',', $this->getPaymentMethods()); /* join with payment table */ $joinQuery = $orderCollection->getSelect() ->join(["sales_order_payment"], 'main_table.entity_id = sales_order_payment.parent_id', array('method') ) ->where('sales_order_payment.method IN (?)', $paymentMethods); $orders […]
I am trying to change the way displaying the tabs in product page ( details, more information and reviews ). I don not want it to be tabs I want it to display directly one after one: details then reviews then more information all showing on the same time not […]