2

I have created product attribute with input type select below, I have put attribute create code.

$eavSetup = $this->eavSetupFactory->create(['setup' => $setup]);
 $eavSetup->addAttribute(Product::ENTITY, 'seller_id', [
 'type' => 'int',
 'label' => 'Seller',
 'input' => 'select',
 'required' => true,
 'sort_order' => 1,
 'source' => 'Kunj\Seller\Model\Config\Source\Sellers',
 'global' => ScopedAttributeInterface::SCOPE_WEBSITE,
 'user_defined' => true,
 'visible_on_front' => false,
 'used_in_product_listing' => true,
 'is_used_in_grid' => true,
 'is_visible_in_grid' => true,
 'is_filterable_in_grid' => true,
 'group' => 'General'
 ]);

Now, everything is working fine with that attribute, I have attached screenshot.

enter image description here

Now, I want to display without the default option like this.

enter image description here

And option should appear with ajax and options list should be based on search keyword.

asked Sep 14, 2018 at 10:00

1 Answer 1

0

@kunj Could you share here the Kunj\Seller\Model\Config\Source\Sellers file

answered Oct 28, 2021 at 11:31

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.