Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

ICopyProductService.cs

using Nop.Core.Domain.Catalog;

namespace Nop.Services.Catalog;

/// 
/// Copy product service
/// 
public partial interface ICopyProductService
{
    /// 
    /// Create a copy of product with all depended data
    /// 
    /// The product to copy
    /// The name of product duplicate
    /// A value indicating whether the product duplicate should be published
    /// A value indicating whether the product images and videos should be copied
    /// A value indicating whether the copy associated products
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the product copy
    /// 
    Task CopyProductAsync(Product product, string newName,
        bool isPublished = true, bool copyMultimedia = true, bool copyAssociatedProducts = true);
}