This is the API docs for LemonStand V1, which has been discontinued. LemonStand is now a cloud based platform, available at lemonstand.com.

LemonStand API

shop:onProductDuplicated event

Triggered by Shop_Product
Author LemonStand eCommerce Inc.

Event handler signature

public void event_onProductDuplicated(Shop_Product $src_product, int $new_product_id)
$src_product Shop_Product specifies the original product object.
$new_product_id int specifies the new product identifier.
Triggered when a product is duplicated.