[Skip to main content](#vessel-content)

#   block custom main - &lt;select&gt;

##

- **[Vorov](/forum/user/34642-vorov "View Vorov's Profile")**
- [![Vorov's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar34642.gif)](/forum/user/34642-vorov "View Vorov's Profile") Topic Author
- [ Offline](/forum/user/34642-vorov)

Less More

- Posts: 37
- Thank you received: 0
-
-

11 years 6 months ago [\#199107](#199107) by [Vorov](/forum/user/34642-vorov "View Vorov's Profile")  *[block custom main - &lt;select&gt;](/forum/26-product-category-display/876471-block-custom-main-select#199107 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.4.1  You can display the value of show&#95;block&#95;custom&#95;main as  ?  fieldsClass-&gt;show($oneExtraField,$value); ?&gt;  Now these are in series, we would like to derive as   Still need to remove from the output values with a comma &quot;,&quot;")* was created by *[Vorov](/forum/user/34642-vorov "View Vorov's Profile")*

-- HikaShop version -- : 2.3.4
-- Joomla version -- : 3.4.1

You can display the value of show_block_custom_main as &lt;select&gt; ?

&lt;?php echo $this-&gt;fieldsClass-&gt;show($oneExtraField,$value); ?&gt;

Now these are in series, we would like to derive as &lt;select&gt;

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

- [ ![Screenshot&#95;1.jpg](/forum/attachment/23859) ](/forum/attachment/23859 "Screenshot&#95;1.jpg") [ ](/forum/attachment/23859?download=1 "Screenshot&#95;1.jpg")
- [ ![Screenshot&#95;2.jpg](/forum/attachment/23860) ](/forum/attachment/23860 "Screenshot&#95;2.jpg") [ ](/forum/attachment/23860?download=1 "Screenshot&#95;2.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzY0NzEtYmxvY2stY3VzdG9tLW1haW4tc2VsZWN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

11 years 6 months ago [\#199110](#199110) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[block custom main - &lt;select&gt;](/forum/26-product-category-display/876471-block-custom-main-select#199110 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.4.1  You can display the value of show&#95;block&#95;custom&#95;main as  ?  fieldsClass-&gt;show($oneExtraField,$value); ?&gt;  Now these are in series, we would like to derive as   Still need to remove from the output values with a comma &quot;,&quot;")*

Hi,

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzY0NzEtYmxvY2stY3VzdG9tLW1haW4tc2VsZWN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Vorov](/forum/user/34642-vorov "View Vorov's Profile")**
- [![Vorov's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar34642.gif)](/forum/user/34642-vorov "View Vorov's Profile") Topic Author
- [ Offline](/forum/user/34642-vorov)

Less More

- Posts: 37
- Thank you received: 0
-
-

11 years 6 months ago [\#199174](#199174) by [Vorov](/forum/user/34642-vorov "View Vorov's Profile")  Replied by *[Vorov](/forum/user/34642-vorov "View Vorov's Profile")* on topic *[block custom main - &lt;select&gt;](/forum/26-product-category-display/876471-block-custom-main-select#199174 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.4.1  You can display the value of show&#95;block&#95;custom&#95;main as  ?  fieldsClass-&gt;show($oneExtraField,$value); ?&gt;  Now these are in series, we would like to derive as   Still need to remove from the output values with a comma &quot;,&quot;")*

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 .

- [ ![Screenshot&#95;1&#95;2015-04-19.jpg](/forum/attachment/23878) ](/forum/attachment/23878 "...2015-04-19.jpg") [ ](/forum/attachment/23878?download=1 "...2015-04-19.jpg")
- [ ![Screenshot&#95;4.jpg](/forum/attachment/23879) ](/forum/attachment/23879 "Screenshot&#95;4.jpg") [ ](/forum/attachment/23879?download=1 "Screenshot&#95;4.jpg")
- [ ![Screenshot&#95;2&#95;2015-04-19.jpg](/forum/attachment/23880) ](/forum/attachment/23880 "...2015-04-19.jpg") [ ](/forum/attachment/23880?download=1 "...2015-04-19.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzY0NzEtYmxvY2stY3VzdG9tLW1haW4tc2VsZWN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

11 years 6 months ago [\#199182](#199182) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[block custom main - &lt;select&gt;](/forum/26-product-category-display/876471-block-custom-main-select#199182 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.4.1  You can display the value of show&#95;block&#95;custom&#95;main as  ?  fieldsClass-&gt;show($oneExtraField,$value); ?&gt;  Now these are in series, we would like to derive as   Still need to remove from the output values with a comma &quot;,&quot;")*

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](/forum/user/34642-vorov "View Vorov's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzY0NzEtYmxvY2stY3VzdG9tLW1haW4tc2VsZWN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.208 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
