In this tutorial, we’re going to see how we can deploy serverless functions alongside our front-end application and create an API that generates images and grabs metadata from links. With serverless functions, developers can create and implement modern features and functionalities in their applications without going through the pain of […]
Monthly Archives: November 2021
I’ve made this file: catalog_category_view.xml in the app/code/Namespace/Products/view/frontend/layout/ folder , with this content: <?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="1column" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"> <body> <referenceBlock name="category.products.list"> <arguments> <argument name="viewModel" xsi:type="object">NamespaceProductsViewModelListProductStock</argument> </arguments> </referenceBlock> </body> </page> In the list.phtml I have this: $viewModel = $block->getData('viewModel'); echo $viewModel->getTest(); and I am getting an error that it doesn’t […]
I have attached screenshot, I want to add default values in position, for example when I add product in category position should show 100. Thanks in advance
Wednesday I began working on an interface for a local application to manage product categorization rather than the Magento console. The documentaiton instructs you to pack multiple request bodies into an array for the bulk request. The response contains a serialized_data key which is documented as: An array of serialized […]
I am using Magento 2.3.6 and I am currently in the research phase to use something interchangeably with Varnish as a Full Page Cache. Due to the fact that we use the AWS architecture, we are considering the possibility of using Cloudfront for this purpose (Magento 2 <-> Cloudfront FPC) […]
Price is overwritten in the product detail page to 0.00 for non-English/United States locale options. I tried to find a solution to solve this problem but found nothing on the forum. There are several discussions but no real solution that works. It’s really annoying because I can’t move forward in […]
I think most of the household internet uses the NAT network. That is within the household, every device is having a unique private IPv4. Then many households are sharing one public IPv4. Suppose I set up a web server on local port 80 and then set the port forward from […]
Copying a crontab file directly into /var/spool/cron/crontabs/<username> does not schedule the job for execution. crontab -l shows the file contents, so cron is at least somewhat aware of it. But it never gets executed. If I edit with crontab -e and make a meaningless change, then cron somehow gets notified […]
I’ve got an Asus AC86U router running the latest ASUSWRT Merlin firmware. For my wireless, I have a setup using a tool called YazFi which creates a secondary (guest) SSID that is isolated with a one-way bridge from my main network. In other words, all devices can access devices on […]