Categories
CMS Magento Mastering Development

Require JS script implementation issue

I am trying to implement the SurveyJS library into my page but it doesn’t seem to work at all and I keep getting "Survey is undefined" whenever I call the Survey object methods, as detailed in the official documentation: https://surveyjs.io/Examples/Library#content-js The following is how I currently have things set up: Vendor/Module/view/frontend/web/js/survey.js here a snippet of […]

Categories
CMS Magento Mastering Development

Using media on Cloud Storage method with own domain

I have a Magento 2 with a Marketplace module running in Google Cloud. I want store images on Google Cloud Storage. What is the best solution thinking that the store have vendors that store images all the time? I did some research and i found two options rsync media folder with the bucket mount the […]

Categories
CMS Magento Mastering Development

Indexer Update by Schedule not Updating Indexer Related Cron Job

A few days back everything works well. But suddenly other cron get run except indexer-related cron. Nighter new code or feature get added not changes done on server. Only changes happen some new products get added. then found indexer_update_all_views showing running & not get executed. Executed stated ad 14:11:03, when I take the screenshot it […]

Categories
CMS Magento Mastering Development

Magento PWA Template Projects

It’s my understanding that Magento’s @magento/venia-concept package is a PWA template project. You can use Magento’s PWA template projects in an invocation of the buildpack command buildpack create-project /path/to/a/folder \ –template "venia-concept"\ –name "your-project"\ –author "Alan Storm <astorm@alanstorm.com>"\ –backend-url "https://master-7rqtwti-mfwmkrjfqvbjk.us-4.magentosite.cloud/"\ –braintree-token "san…qzk" –npm-client "npm"\ –no-install to setup a PWA system. My Question: Are there other […]

Categories
CMS Magento Mastering Development

Magento 2.3.6 not connect to backend

while checking the orders in the backend, changing page, the Chrome browser gave me an error: Unable to reach the site ERR_INVALID_RESPONSE I can no longer access the administrative side, but the site is visible. It happens with all browsers. How can I resolve and log back into the backend?

Categories
CMS Magento Mastering Development

Add ‘customer’ text after customer name in the top header section using plugin

Forex: After customer login, default magento display the customer firstname and last name in the top header section (next to welcome), here I need to append ‘customer’ text after customer firstanme and last name, it should display in the frontend all the pages. using plugin

Categories
CMS Magento Mastering Development

Create a Multidimension array and convert this in JSON format

I want to create JSON data to pass in AJAX. I’ll pass the dynamic value of country & postcode in the below JSON. Let me know how to perform this task. Required data to pass in JSON {"address":{"country_id":"IN","postcode":"452002"} var form = ”; var country_id =”; var postcode =”; var jsonData =”; jsonData =?// need logic […]

Categories
CMS Magento Mastering Development

Magento2 Optimize url_rewrite table

We have recently migrated Magento1 to Magento2.we found that url_rewrite table has almost 16000000+ rows. M1 site was build before 6 years and the url rewrite table has increased over the years. This website has around 6000+ categories and 8000+ products. Is there a good article or process that we can optimize this table to […]

Categories
CMS Magento Mastering Development

Image color shift after uploading to Magento admin

When I upload any product image, that images change his saturation and color This is the original image: This is the image post uploaded: I’d searched on Google about this error, and the most response said to change of lib GD2 to ImageMagick, and run the command bin/magento catalog:images:resize and clear the cache. I execute […]

Categories
CMS Magento Mastering Development

Image color shift after uploading to Magento admin

When I upload any product image, that images change his saturation and color This is the original image: This is the image post uploaded: I’d searched on Google about this error, and the most response said to change of lib GD2 to ImageMagick, and run the command bin/magento catalog:images:resize and clear the cache. I execute […]