Inhalte aufrufen

Profilbild

Actions in Product.Offer.Actions.Misc


  • Bitte melden Sie sich an, um eine Antwort zu verfassen.
1 Antwort zu diesem Thema

#1 CompleteCoders

CompleteCoders

    Advanced Member

  • Members
  • 97 Beiträge

Geschrieben: 29 April 2021 - 03:12

I see in Product.Offer.Actions.Misc that the code loops through "actions" and renders them dynamically.  This makes me there is a way either in a plugin or other method to add a new "action".  I want to add my own link in that area.  Is there a simple method for doing this?

 

Thanks

 



#2 Marcus Gesing

Marcus Gesing

    SmartStore AG

  • Administrators
  • 3638 Beiträge

Geschrieben: 29 April 2021 - 12:20

Product.Offer.Actions.Misc refers to ProductDetailsModel.ActionItems which is a list of ProductDetailsModel.ActionItemModel. DevTools has an example of how to add new actions there via IActionFilter.

  • stefanmueller gefällt das

Schöne Grüße aus Düsseldorf,
Marcus Gesing