ItemController

Namespace

IO\Controllers

Extends
Properties
Type Name Description

``

$plentyId

string

$pluginNamespace

Methods
public showItem($slug = "", $itemId, $variationId, $category = null):string

Prepare and render the item data.

Parameters

Type

Name

Description

string

$slug

int

$itemId

The itemId read from current request url. Will be null if item url does not contain a slug.

int

$variationId

Category

$category

public showItemWithoutName($itemId, $variationId):string
Parameters

Type

Name

Description

int

$itemId

int

$variationId

public showItemFromAdmin($itemId):string
Parameters

Type

Name

Description

int

$itemId

public showItemOld()
public showItemForCategory($category)
Parameters

Type

Name

Description

``

$category