# ablocks/2.8.1/includes/blocks/storeengine-cart-notice/attributes.php

aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder &amp; Animation Builder, version 2.8.1. 77 lines.

- Page: https://pluginprobe.com/plugins/ablocks/2.8.1/code/includes/blocks/storeengine-cart-notice/attributes.php
- Raw: https://pluginprobe.com/plugins/ablocks/2.8.1/raw/includes/blocks/storeengine-cart-notice/attributes.php
- Modified: 2025-11-15T06:49:48+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/ablocks/2.8.1/code/includes/blocks/storeengine-cart-notice/attributes.php#L10-L20`.

```php
<?php

use ABlocks\Controls\Typography;
use ABlocks\Controls\Range;
use ABlocks\Controls\Dimensions;
use ABlocks\Controls\Border;
use ABlocks\Controls\BoxShadow;
use ABlocks\Controls\Alignment;


if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

$attributes = [
	'block_id' => [
		'type' => 'string',
		'default' => '',
	],
	'blockVersion' => [
		'type' => 'number',
		'default' => 2,
	],
	'product_id' => [
		'type' => 'number',
		'default' => 0,
	],
	'boxColor' => [
		'type' => 'string',
		'default' => '#515a62',
	],
	'boxColorH' => [
		'type' => 'string',
		'default' => '#515a62',
	],
	'linkColor' => [
		'type' => 'string',
		'default' => '#101828',
	],
	'linkColorH' => [
		'type' => 'string',
		'default' => '#101828',
	],
	'boxBackground' => [
		'type' => 'string',
		'default' => '#e1f2ff',
	],
	'boxBackgroundH' => [
		'type' => 'string',
		'default' => '#e1f2ff',
	],
	'isCustom' => [
		'type' => 'boolean',
		'default' => true,
	],
];

$attributes = array_merge(
	$attributes,
	Dimensions::get_attribute( 'infoBoxPadding', true ),
	Typography::get_attribute( 'infoTypography', true ),
	Typography::get_attribute( 'linkTypography', true ),
	BoxShadow::get_attribute( 'infoBoxoxShadow', true ),
	Border::get_attribute( 'infoBoxBorder', true ),
	Alignment::get_attribute( 'infoboxAlignment', true, [ 'value' => 'left' ] ),
	Range::get_attribute( [
		'attributeName' => 'infoBoxWidth',
		'attributeObjectKey' => 'value',
		'isResponsive' => true,
		'defaultValue' => 100,
		'hasUnit' => true,
		'unitDefaultValue' => '%',
	]),
);

return array_merge( $attributes, \ABlocks\Classes\BlockGlobal::get_attributes() );

```
