Move generic methods to main module
Create _get_hidden_inputs_for_cart