Categories
CMS Drupal Mastering Development

Drupal downloads the module update but need FTP

As the above screen shots, from Drupal 7 shows, the updates are downloaded! However, it still says Updating modules and themes requires FTP access to your server. I have tried the ownership of sites directory as whole sudo chown www-data sites. I also tried chmod -R 777 sites. Is there any other way beside having […]

Categories
CMS Magento Mastering Development

How to rename the browser tab for customer login page magento2

I am using magento 2.3. I want the browser tab to say something like: ‘seller login instead of customer login’.

Categories
CMS Magento Mastering Development

Set Child product as same Parent Product Magento 2

How can I automatically assign child product as the same parent product we have 1000 product and editing it manual take time

Categories
CMS Magento Mastering Development

Magento 2.3.4 – Reindex Catalog Search MySql Error

I am trying to reindex the Search however, I keep getting this error; any hint? bash-4.2$ php bin/magento indexer:reindex catalogsearch_fulltext Catalog Search indexer process unknown error: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax […]

Categories
CMS Drupal Mastering Development

Decoupled Drupal – Security

I am running a Drupal 8.9.2 site as a content repository accessed via an Angular 8 app. So there is one administrator who uses the Drupal interface to write content / upload files eccc…. and anonymous users view that content via the Angular app. I have set up some views with REST Export display and […]

Categories
CMS Magento Mastering Development

How to Get Base Url in Theme Custom JS file and how to return response in JSON format?

I have created a module in which all the things is done just 2 things are remaining . How to add Dynamic base url in Magento 2 theme JS file. ex : http://127.0.0.1/projectname how to get that dynamically. How to pass success or error in JSON format using Module -> Model it would be really […]

Categories
CMS Magento Mastering Development

Less CSS inlining error

I am using Magento 2.3.5-p1 with claue theme. I am getting below error in transactional email, how to fix it? Compilation from source: LESS file is empty: frontend/Mgs/claue/en_US/css/email-inline.less

Categories
CMS Magento Mastering Development

Updating product stock status programmatically in Magento 2.3.x

I have been facing an issue lately, I want to allow some products to be added to cart and ordered (programmatically) even if they’re Out of Stock, I have succeeded in updating both is_in_stock and stock_status but the product stock isn’t updating right away, the changes only reflect when the page is reloaded. This is […]

Categories
CMS Magento Mastering Development

I want to show the Price of products through API in mageno2

I want to show the prices of the product which will come through API.This prices are not stored in magento database. I just want to know how can it be achieved with just explanation.

Categories
CMS Magento Mastering Development

Magento 2.3.x Admin Panel keeps loading

I have installed Magento 2.3.5-p1 and also tried 2.3.4-p2 on Centos 7, with Nginx & PHP-FPM, maria DB with following commands. 1. /var/www/magento < owner by MAGENTO:NGINX user (I have created a pool for magento:nginx) 2. find var generated vendor pub/static pub/media app/etc -type f -exec chmod g+w {} + 3. find var generated vendor […]