Home > widget-integration > ProductItemCTASettings

ProductItemCTASettings type

Signature:

export type ProductItemCTASettings = {
	showOnHovering?: boolean;
	showOn?: "desktopAndMobile" | "desktopOnly";
	imgSrc?: string;
	iconPosition?: "left" | "right";
	backgroundColor?: string;
	backgroundColorOnHover?: string;
	borderColor?: string;
	borderColorOnHover?: string;
	textColor?: string;
	textColorOnHover?: string;
	fontFamily?: string;
	fontStyle?: string;
	fontSize?: number;
	fontWeight?: string | number;
	shape?: "rectangle" | "round" | "circle" | "square";
	width?: string;
	height?: string;
	alignment?: "left" | "center" | "right";
	textTransform?: "none" | "capitalize" | "uppercase" | "lowercase";
	action?: "popup" | "quickAddToCart" | "productPage";
	displayType?: "textWithIcon" | "text" | "icon";
};