What is this for??

hi guys im looking how can create the select quantity change to select option, but i see the code in same what im thinking in your_skin/costomer/addons/product_configurator/hooks/products/product_data.tpl





here is the code





```php



{$quantity_text|default:$lang.quantity}:

{if $product.qty_content}



{assign var=“a_name” value=“product_amount_$obj_prefix``$obj_id”}

{assign var=“selected_amount” value=false}

{foreach name=“$a_name” from=$product.qty_content item=“var”}

bump

[quote name=‘Cached’]hi guys im looking how can create the select quantity change to select option, but i see the code in same what im thinking in your_skin/costomer/addons/product_configurator/hooks/products/product_data.tpl





here is the code





```php



{$quantity_text|default:$lang.quantity}:

{if $product.qty_content}



{assign var=“a_name” value=“product_amount_$obj_prefix``$obj_id”}

{assign var=“selected_amount” value=false}

{foreach name=“$a_name” from=$product.qty_content item=“var”}

Hi



Thanks for the reply



Im using cscart_v2.1.4-professional



and im using basic skin only



i really want to know if that is for quantity also,



newbie here



Thanks and more power

bump

Stop bumping your posts everytime you post something! People will respond when and if they have a response.

[quote name=‘Cached’]Hi



Thanks for the reply



Im using cscart_v2.1.4-professional



and im using basic skin only



i really want to know if that is for quantity also,



newbie here



Thanks and more power[/QUOTE]





Hello Cached,



This code is in the core functionality, not in the “Product configurator” add-on.



It is used for the changing product amount based on the option selection.



Click on the “Option combinations” button that is in the “Options” section on the “Product update” page.

  • There should be a list with combinations of all product option values on this page. If there are no option combinations defined on this page, click on the “Rebuild combinations” link or add combinations under the “Add combination” section manually.
  • After that you can enter product code and upload small and detailed images and separate amount for each option combination by using the appropriate forms.

    Also you need to select the “Track with options” option in the “Inventory” field in the “General” section on the “Product update” page.

    When customer selects the desired option for the product in the storefront this option combination parameters will be displayed.



    Thank you.





    Mikhail Ponomarev

    CS-Cart Support team

Hi CS-CART TEAM



Thanks for the Help and reply for my problem.



Is there any way how to create that, i tried to create code but it has error. :frowning:



i just want to use SELECT OPTION instead putting QUANTITY



Thanks



More Blessing to Come, pilipino Guy here :):

Why not using the "Use “Value changer” for the Quantity field " Go to admin >> Appearance >> and here you can enable the “Value changer”