Skip to content

Instantly share code, notes, and snippets.

View dupadhyay3's full-sized avatar

Deepak Upadhyay dupadhyay3

  • Vapi
  • 14:50 (UTC +05:30)
View GitHub Profile
@dupadhyay3
dupadhyay3 / RemoveOptions.php
Last active June 6, 2019 07:48 — forked from bh-ref/RemoveOptions.php
Remove/Delete Product Attribute Options in Magento 2
<?php
namespace Vendor\ModuleName\Options;
use Magento\Eav\Setup\EavSetupFactory;
use Magento\Framework\Setup\ModuleDataSetupInterface;
use Magento\Catalog\Model\ResourceModel\Eav\AttributeFactory;
class RemoveOptions
{