ShoppingCartThemeContentView

Extends \ThemeContentView Implements \ShoppingCartContentViewInterface

package

Default

Methods

__construct

__construct( $p_get_array = false,  $p_post_array = false) 
inherited

Arguments

$p_get_array

$p_post_array

returns a list of payment modules which are sensitive to the type of products sold (physical/non-physical)

_getContentTypeSensitivePaymentModules() 

Overload this method if you need to extend this list!

_getProductAttributes

_getProductAttributes( &$p_product) 

Arguments

$p_product

_resetInfoMessage

_resetInfoMessage() 

_setAmazonadvpayButton

_setAmazonadvpayButton() 

_setButtonBackUrl

_setButtonBackUrl() 

_setCheckoutButton

_setCheckoutButton(array $p_button) 

Arguments

$p_button

array

_setContentDataButtonsBackUrl

_setContentDataButtonsBackUrl() 

_setContentDataCartEmpty

_setContentDataCartEmpty() 

_setContentDataCheckoutButtons

_setContentDataCheckoutButtons(array $p_checkoutButtons) 

Arguments

$p_checkoutButtons

array

_setContentDataForm

_setContentDataForm() 

_setContentDataGiftCart

_setContentDataGiftCart() 

_setContentDataHiddenOptions

_setContentDataHiddenOptions( $p_hiddenOptions) 

Arguments

$p_hiddenOptions

_setContentDataInfoMessage

_setContentDataInfoMessage( $p_infoMessage) 

Arguments

$p_infoMessage

_setContentDataInfoMessage1

_setContentDataInfoMessage1( $p_orderValue) 

Arguments

$p_orderValue

_setContentDataInfoMessage2

_setContentDataInfoMessage2( $p_orderValue) 

Arguments

$p_orderValue

_setContentDataLightbox

_setContentDataLightbox() 

_setContentDataMinMaxOrder

_setContentDataMinMaxOrder( $p_minMax) 

Arguments

$p_minMax

_setContentDataOrderAmount

_setContentDataOrderAmount( $p_amount) 

Arguments

$p_amount

_setContentDataOrderDetails

_setContentDataOrderDetails( $p_orderDetailsHtml) 

Arguments

$p_orderDetailsHtml

_setContentDataRedeemCouponCodeForm

_setContentDataRedeemCouponCodeForm() 

_setContentDataSharedCart

_setContentDataSharedCart() 

_setContentDataShippingAndPaymentContentTitle

_setContentDataShippingAndPaymentContentTitle( $p_contentTitle) 

Arguments

$p_contentTitle

_setContentDataShippingAndPaymentInfoLinkMobile

_setContentDataShippingAndPaymentInfoLinkMobile( $p_contentUrl) 

Arguments

$p_contentUrl

_setContentDataYoochooseShoppingCart

_setContentDataYoochooseShoppingCart( $p_alsoInterestingHtml) 

Arguments

$p_alsoInterestingHtml

_setContentsDataDeprecated

_setContentsDataDeprecated() 

_setContentType

_setContentType() 

_setCustomerStatusAllowCheckout

_setCustomerStatusAllowCheckout() 

_setGiftCart

_setGiftCart() 

_setInfoMessage

_setInfoMessage() 

_setMinMaxOrderValue

_setMinMaxOrderValue() 

_setOrderDetailsCartContentView

_setOrderDetailsCartContentView() 

PayPal-Buttons of deprecated module "paypalng". Deprecated since GX 2.4

_setPaypalButton() 

Set Paypal EC-Button

_setPaypalEcButton() 

_setPayPalInstallments

_setPayPalInstallments() 

_setProductsGmWeight

_setProductsGmWeight() 

_setSeoBoost

_setSeoBoost() 

_setSessionValueAllowCheckout

_setSessionValueAllowCheckout( $p_allow) 

Arguments

$p_allow

_setSessionValueAnyOutOfStock

_setSessionValueAnyOutOfStock( $p_value) 

Arguments

$p_value

_setShareCart

_setShareCart() 

_setShippingCostsSelection

_setShippingCostsSelection() 

_setYoochoose

_setYoochoose() 

_unsetSessionValue

_unsetSessionValue( $p_value) 

Arguments

$p_value

add_cache_id_elements

add_cache_id_elements( $p_elements_array) 
inherited

Arguments

$p_elements_array

before_build_html

before_build_html() 
inherited

build_html

build_html( $p_content_data_array = false,  $p_template_file = false) 
inherited

Arguments

$p_content_data_array

$p_template_file

clear_cache_id_elements

clear_cache_id_elements() 
inherited

get_cache_id

get_cache_id() 
inherited

get_content_array

get_content_array( $p_max_deprecation_level = false) 
inherited

Arguments

$p_max_deprecation_level

get_content_template

get_content_template() 
inherited

get the first template from folder

get_default_template(string $filePath, string $prefix, string $template = 'default') : string
inherited

this function gets the first template from the folder, if the given filepath not an file

Arguments

$filePath

string

Path to the templates

$prefix

string

prefix of the type of template

$template

string

Name of the template

Response

string

Template basename

get_flat_assigns

get_flat_assigns() 
inherited

get_html

get_html() 
inherited

get_merged_deprecated_array

get_merged_deprecated_array( $p_max_deprecation_level = false) 
inherited

Arguments

$p_max_deprecation_level

get_session_id_placeholder

get_session_id_placeholder() 
inherited

getOrderDetailsCartContentView

getOrderDetailsCartContentView() 

getProductMessages

getProductMessages() 

init_smarty

init_smarty() 
inherited

is_cached

is_cached() 
inherited

is_caching_enabled

is_caching_enabled() 
inherited

is_compile_check_enabled

is_compile_check_enabled() 
inherited

Create Configuration Array for the Paypal EC-Button

paypalEcButtonConfiguration() : array

Response

array

prepare_data

prepare_data() 
inherited

replace_session_id_placeholder

replace_session_id_placeholder( $p_content) 
inherited

Arguments

$p_content

search_deprecated_keys

search_deprecated_keys( $p_key_array,  &$p_array) 
inherited

Arguments

$p_key_array

$p_array

set_caching_enabled

set_caching_enabled( $p_status) 
inherited

Arguments

$p_status

set_compile_check_enabled

set_compile_check_enabled( $p_status) 
inherited

Arguments

$p_status

Inject the content data to the template file that they are accessible in template with variables.

set_content_data( $p_content_name,  $p_content_item,  $p_deprecation_level) : void
inherited

Arguments

$p_content_name

$p_content_item

$p_deprecation_level

Sets the content template file.

set_content_template( $p_filepath) : void
inherited

Arguments

$p_filepath

Smarty can render templates from a string by using the string: or eval: resource.

set_content_template_from_string(string $p_template, boolean $storeCompiledTemplate = true) 
inherited

Arguments

$p_template

string

$storeCompiledTemplate

boolean

If set on "true", each unique template string will create a new compiled template file. If your template strings are accessed frequently, this is a good choice. If you have frequently changing template strings (or strings with low reuse value), "false" may be a better choice, as it doesn't save compiled templates to disk.

set_deprecated_array

set_deprecated_array() 
inherited

Set whether HTML must be escaped automatically.

set_escape_html(boolean $value) 
inherited

set_flat_assigns

set_flat_assigns( $p_status) 
inherited

Arguments

$p_status

set_shopping_cart_button_template

set_shopping_cart_button_template() 

set_shopping_cart_messages_template

set_shopping_cart_messages_template() 

Sets the template directory path.

set_template_dir( $p_dir_path) : void
inherited

Arguments

$p_dir_path

setCart

setCart( $p_cart) 

Arguments

$p_cart

setCartCountContents

setCartCountContents( $p_countContents) 

Arguments

$p_countContents

setCustomerStatusMaxOrder

setCustomerStatusMaxOrder( $p_customerStatusMaxOrder) 

Arguments

$p_customerStatusMaxOrder

setCustomerStatusMinOrder

setCustomerStatusMinOrder( $p_customerStatusMinOrder) 

Arguments

$p_customerStatusMinOrder

setLanguageCode

setLanguageCode( $p_languageCode) 

Arguments

$p_languageCode

setLanguagesId

setLanguagesId( $p_languageId) 

Arguments

$p_languageId

setProductMessages

setProductMessages(array $messages) 

Arguments

$messages

array

setProducts

setProducts(array $products) 

Arguments

$products

array

setXtcPrice

setXtcPrice(\xtcPrice $p_xtPrice) 

Arguments

$p_xtPrice

\xtcPrice

Properties

paypal

paypal : 

Type(s)

giftCartHtml

giftCartHtml : 

Type(s)

sharedCartHtml

sharedCartHtml : 

Type(s)

xtcPrice

xtcPrice : 

Type(s)

buttonBackUrl

buttonBackUrl : 

Type(s)

hiddenFormOptions

hiddenFormOptions : 

Type(s)

seoBoost

seoBoost : 

Type(s)

languagesId

languagesId : 

Type(s)

sessionCart

sessionCart : 

Type(s)

cartCountContents

cartCountContents : 

Type(s)

customerStatusMinOrder

customerStatusMinOrder : 

Type(s)

customerStatusMaxOrder

customerStatusMaxOrder : 

Type(s)

languageCode

languageCode : 

Type(s)

products

products : 

Type(s)

orderDetailsCartThemeContentView

orderDetailsCartThemeContentView : 

Type(s)

messages

messages : 

Type(s)

v_env_get_array

v_env_get_array : 
inherited

Type(s)

v_env_post_array

v_env_post_array : 
inherited

Type(s)

v_content_template

v_content_template : 
inherited

Type(s)

content_array

content_array : 
inherited

Type(s)

deprecated_array

deprecated_array : 
inherited

Type(s)

v_min_deprecation_level

v_min_deprecation_level : 
inherited

Type(s)

v_flat_assigns

v_flat_assigns : 
inherited

Type(s)

v_coo_smarty

v_coo_smarty : 
inherited

Type(s)

v_cache_id_elements_array

v_cache_id_elements_array : 
inherited

Type(s)

v_template_dir

v_template_dir : 
inherited

Type(s)

v_caching_enabled

v_caching_enabled : 
inherited

Type(s)

v_compile_check_enabled

v_compile_check_enabled : 
inherited

Type(s)

v_session_id_placeholder

v_session_id_placeholder : 
inherited

Type(s)

escape_html

escape_html : 
inherited

Type(s)

build_html

build_html : 
inherited

Type(s)