value in the field "combination_hash"

[color=#282828][font=arial, verdana, tahoma, sans-serif]Hallo,[/font][/color]



[color=#282828][font=arial, verdana, tahoma, sans-serif]anyone knows how to calculate value in the field “combination_hash” in table cscart_product_options_inventory ?[/font][/color]



[color=#282828][font=arial, verdana, tahoma, sans-serif]I try to search everywhere but nothing.[/font][/color]



I would like to connect my whorehouse db to cs-cart mysql and this value is a mistery…





[color=#282828][font=arial, verdana, tahoma, sans-serif]Regards[/font][/color]

[color=#282828][font=arial, verdana, tahoma, sans-serif]Gio[/font][/color]

Hope it’s your warehouse you want to connect to… :-)

Suggest you look at the code in core/fn.catalog.php and deconstruct how option combination hash values are created.

Hello Gio,



Thank you for your message.



This value is generated by the fn_generate_cart_id function which is defined in the fn.cart.php file located in the core directory of your CS-Cart installation. After it is generated it is inserted into the cscart_product_options_inventory CS-Cart database table. Please check it.



Thank you.





Pavel Zyukin

CS-Cart Support team

[quote name=‘tbirnseth’ timestamp=‘1354688985’ post=‘150482’]

Hope it’s your warehouse you want to connect to… :-)

Suggest you look at the code in core/fn.catalog.php and deconstruct how option combination hash values are created.

[/quote]



hahahahaha

yes indeed :)



thanks for your mssgg

[quote name='CS-Cart Support team' timestamp='1354691787' post='150486']

This value is generated by the fn_generate_cart_id function which is defined in the fn.cart.php file located in the core directory of your CS-Cart installation. After it is generated it is inserted into the cscart_product_options_inventory CS-Cart database table. Please check it.

[/quote]



Hallo, thanks for your replay, I'm not sure to understand how can I translate this code in an calculation for my db system?



It could be generate with an equation?

Hello Gio,



Thank you for the reply.



Unfortunately, some PHP code modifications are required to be made to implement it. You can make them yourself (if you know PHP) or hire a third-party developer (here you can find a lot of offers from CS-Cart developers or consider our custom development service).



Thank you.





Pavel Zyukin

CS-Cart Support team