Class Shop_Cart_Controller_Onestep
Заказ в 1 шаг.
Доступные методы:
- couponText() купон
- itemsProperties(TRUE) выводить значения дополнительных свойств товаров, по умолчанию FALSE
- itemsPropertiesList(TRUE) выводить список дополнительных свойств товаров, по умолчанию TRUE
- taxes(TRUE|FALSE) выводить список налогов, по умолчанию FALSE
- shop_item_id() идентификатор заказываемого товара
- quantity() количество заказываемого товара, по умолчанию 1
- countries(TRUE|FALSE) выводить в XML данные о странах
- orderProperties(TRUE|FALSE|array()) выводить список дополнительных свойств заказа, по умолчанию TRUE
- paymentSystems(TRUE|FALSE) выводить в XML данные о платежных системах
$Shop_Cart_Controller_Onestep = new Shop_Cart_Controller_Onestep( Core_Entity::factory('Shop', 1) ); $Shop_Cart_Controller_Onestep ->xsl( Core_Entity::factory('Xsl')->getByName('МагазинКупитьВОдинШаг') ) ->show();
- Core_Servant_Properties
- Core_Controller
- Shop_Cart_Controller_Onestep
Copyright: © 2005-2021 ООО "Хостмэйк" (Hostmake LLC), http://www.hostcms.ru
Author: Hostmake LLC
Version: 6.x
Located at shop/cart/controller/onestep.php
Methods summary
public
|
|
public
|
|
protected
|
|
protected
|
#
_addOrdersPropertiesList( integer $parent_id, object $parentObject )
Add order's properties to XML |
public
array
|
|
public
array
|
#
showDelivery( integer $shop_country_id, integer $shop_country_location_id, integer $shop_country_location_city_id, integer $shop_country_location_city_area_id, integer $weight, integer $amount )
Show delivery |
public
array
|
Methods inherited from Core_Controller
__toString()
,
addCacheSignature()
,
addCacheTag()
,
addEntities()
,
addEntity()
,
append()
,
assign()
,
clearCacheTag()
,
clearEntities()
,
clearVars()
,
get()
,
getCacheTags()
,
getEntities()
,
getEntity()
,
getShownIDs()
,
getStdObject()
,
getTpl()
,
getXml()
,
getXsl()
,
mode()
,
setAttributePrefix()
,
setEntity()
,
tpl()
,
xsl()
Methods inherited from Core_Servant_Properties
__call()
,
__get()
,
__isset()
,
__set()
,
addAllowedProperties()
,
addAllowedProperty()
,
set()
,
setUnlimitedProperties()
Properties summary
protected
array
|
$_allowedProperties
Allowed object properties |
#
array(
'couponText',
'itemsProperties',
'itemsPropertiesList',
'taxes',
'shop_item_id',
'quantity',
'countries',
'orderProperties',
'paymentSystems',
)
|
protected
array
|
$_aItem_Properties
List of properties for item |
#
array()
|
protected
array
|
$_aItem_Property_Dirs
List of property directories for item |
#
array()
|
protected
|
$_oSiteuser
Current Siteuser |
#
NULL
|
protected
array
|
$_aOrder_Properties
List of properties for order |
#
array()
|
protected
array
|
$_aOrder_Property_Dirs
List of property directories for order |
#
array()
|
Properties inherited from Core_Controller
$_attributePrefix
,
$_cacheSignatures
,
$_cacheTags
,
$_entities
,
$_entity
,
$_mode
,
$_shownIDs
,
$_tpl
,
$_vars
,
$_xsl