Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email

Magento Forum

tier pricing modified
Jr. Member
Total Posts:  8
Joined:  2007-09-09

Hello Moshe,
I am still developing on the ticketshoip (box office).

Right now I am totally stucked and would need some help.

I set up a new product type - everything ok so far.

But now I want to implement a Price category feature instead of tear price.

So I have a pricecategory.phtml instead of a tier.phtml.:

<label for="row_index__category"><strong><?=__('PK')?></strong></label>
select id="row_index__category" name="product[category_price][__index__][category]" class="select">
<?foreach ($this->getAllPriceCategoryOptions() as $option):?>
= ($option['value'== "'#{category}'"  ) ? 'selected' ''?>
<option value="<?=$option['value']?>" <?=$_selected?>><?=$option['label']?></option>

My Problem is: How can I check against #{category}

when I also included:

<?foreach ($this->getValues() as $_item):?>
Everything works ok so far. I can get the information stored in the db. But I can not show the actual value selected getting from the database (#{category}.

I hope this makes sense and somebody can help me.


Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top