Need to add a couple of blocks in the Drupal UBERCAR shopping basket, in which file can I add the code?

  • In its module to hack the code of the modules is a bad tone. But in general, what kind of blocks can write anything? - fringe

1 answer 1

If you need to add to the step / cart - then through:
hook_tapir_table_alter
or
hook_form_alter for form_id = 'uc_cart_view_form' .
For step / cart / checkout:
hook_uc_cart_checkout_review or hook_form_uc_cart_checkout_form_alter (immediately indicating the form, for example, as an alternative to the first option)