D
D
Dmitry Evgrafovich2014-05-07 05:00:14
Drupal
Dmitry Evgrafovich, 2014-05-07 05:00:14

How to display a phone number from the ubercart admin panel in a template?

In the settings of the ubercard for the store, a phone number is set, I would like to display it in the header on the main page.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
lacrim, 2014-08-15
@lacrim

Easy, you just need to programmatically display the field with the phone:
<?php echo $node->имя_поля[0]['view']; ?>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question