Select Custom field client \ admin side behavior.

Select Custom field client \ admin side behavior.

Laraship QuestionsCategory: TechnicalSelect Custom field client \ admin side behavior.
juvelirum asked 3 weeks ago

For instance, I add test_select as a select custom field with options:

key1 -> val1

key2 -> val2

Then I set in admin mode for marketplace product test_select val2 as a value.

When I try to get value for this custom field on the client-side (product_single.blade.php file) with

$product->test_select

I get appropriate key instead of value (key2 in the example instaad of val2).

Is this intended behavior and how to get value on the client side?

1 Answers
laraship Staff answered 3 weeks ago

Hello,

What we suggest here is to add the values in the translation files and output the translation results instead of the internal values.

however we will pass your item to the dev team.

Thank you

50% OFF

No Minimum, No Exceptions
 
GO TO STORE
close-link