Skip to main content

block custom main - <select>

More
11 years 5 months ago #199107 by Vorov
-- HikaShop version -- : 2.3.4
-- Joomla version -- : 3.4.1

You can display the value of show_block_custom_main as <select> ?

<?php echo $this->fieldsClass->show($oneExtraField,$value); ?>

Now these are in series, we would like to derive as <select>

Still need to remove from the output values with a comma ","

Please Log in or Create an account to join the conversation.

More
11 years 5 months ago #199110 by nicolas
Hi,

If you want a select, you should create a custom field of the table "item", not "product".

Please Log in or Create an account to join the conversation.

More
11 years 5 months ago #199174 by Vorov
Replied by Vorov on topic block custom main - <select>
For example:
Shoes sold. This Shoe 4 size: 25,26,27,32.
The buyer chooses the size of the Shoe from the display size. If done as you suggest, then there would be no communication. In the admin chose product specific values, and the front part of the site displays the field (25,26,27,32) and a combobox (25,26,27,28,29,30,31,32) not associated with a field .

Please Log in or Create an account to join the conversation.

More
11 years 5 months ago #199182 by nicolas
Hi,

So in that case, why use custom fields at all ?
Characteristics already allow you to do that: You enter all the possible values of the characteristic, and then after you add it to the product, you can click on the "manage variants" button to deactivate the variants that you don't want to sell for that product.
Characteristics also display as a dropdown by default on your product page, so that should already do what you want.
The following user(s) said Thank You: Vorov

Please Log in or Create an account to join the conversation.

Time to create page: 0.165 seconds
Powered by Kunena Forum