Create Drush Command to create product types.

Created on 30 November 2023, over 1 year ago

Problem/Motivation

When someone installs a module then in hook_install we are calling the function to create product types. But it needs an access token to be configured. So it throws an error.

Steps to reproduce

Install Module and check recent log messages curl error will be there.

Proposed resolution

Create a custom command that will call the _create_product_types function.

📌 Task
Status

Fixed

Version

2.0

Component

Code

Created by

🇮🇳India omkar-pd

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024