Log in
Model

ProductFrontendAction

Magento\Catalog\Model\ProductFrontendAction

What it does

This model represents frontend user actions performed on products, such as views or recently viewed items.

Developers use this class to track and store customer or visitor interactions with products, including who performed the action, which product was involved, and when it occurred.

It's typically used for features like 'Recently Viewed Products' or product activity tracking.

Public Methods

  • getActionId()
  • setActionId()
  • getVisitorId()
  • setVisitorId()
  • getCustomerId()
  • setCustomerId()
  • getProductId()
  • setProductId()
  • getAddedAt()
  • setAddedAt()
  • getTypeId()
  • setTypeId()