News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

How to display child variant dropdown list in different location?

Started by Ninjab, May 20, 2013, 13:23:06 PM

Previous topic - Next topic

Ninjab

Hi there,

I am trying to change the location to where my child variant drop down list is displayed. I have tried adding the position to ontop (or another one) when editing in customfields, however that does not work.

I also am trying to do it with a plugin but the plugin also displays in the same location the dropdown list is and I dont want that.

The template that I had has it as follows and this displays my plugin and the dropdown list. However I need the plugin to not be a part of the dropdown list when it triggers it in my template. Any ideas? Thanks.

<?php foreach ($this->product->customfieldsCart as $field) { ?>

<div class="product-field-type-<?php echo $field->field_type ?>">

<label class="product-fields-title" ><?php echo  JText::_($field->custom_title?></label>

<?php echo $field->display ?> </div>


<?php ?>


I assume this code is telling it to generate/trigger all cart attribute items? I guess I need it to just trigger a specific custom field as opposed to doing that. Please help, thanks :)