Suppose you want to...
 
Notifications
Clear all

Suppose you want to develope a custom extension that should provide product_redirect_links to amazon.com, ebay.com and other sites. Suppose this must be added using extension_attribute feature to make that availbe for product repository and services,

1 Posts
1 Users
0 Likes
93 Views
(@finnecolton)
Posts: 729
Noble Member
Topic starter
 

Suppose you want to develope a custom extension that should provide product_redirect_links to amazon.com, ebay.com and other sites. Suppose this must be added using extension_attribute feature to make that availbe for product repository and services, then what are the customizations needed to develope it: Choose 2

  • A . In your custom module, create etc/extension_attributes.xml, and define needed attribute_code under
    extension_attributes for=”Magento\Catalog\Api\Data\ProductInterface”
    B. In your custom module create, etc/di.xml and add plugin code to join product_redirect_links attribute to ProductRepositoryList
    <type name="Magento\Catalog\Api\ProductRepositoryInterface">
    <plugin name="joinExternalLinksToProductRepositoryList"
    type="Magento\ExternalLinks\Model\Plugin\Product\Repository"/>
    </type>
    C. In your custom module create Setup/InstallSchema.php and add requried product attribute create code and run setup:upgrade.
    D. None of these

Show Answer Hide Answer

Suggested Answer: AB
 
Posted : 19/11/2022 10:15 am
Topic Tags

Latest Adobe AD0-E704 Dumps Valid Version

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Share: