node-product.tpl

Created on 26 November 2009, about 15 years ago
Updated 2 April 2023, over 1 year ago

I'm using the latest ubercart version, with the aquia prosper theme. I noticed there is an extra tpl file for the products (node-product.tpl). Now my problem is i want to put additional fields in the general product information, instead of the additional product information. And also let some of those fields show in the teaser. Is this possible?

 <div id="product-details" class="clear">
          <div id="field-group">
            <?php print $fusion_uc_weight; ?>
            <?php print $fusion_uc_dimensions; ?>
            <?php print $fusion_uc_model; ?>
            <?php print $fusion_uc_list_price; ?>
            <?php print $fusion_uc_sell_price; ?>
            <?php print $fusion_uc_cost; ?>
          </div>

          <div id="price-group">
            <?php print $fusion_uc_display_price; ?>
            <?php print $fusion_uc_add_to_cart; ?>
          </div>
        </div><!-- /product-details -->

        <?php if ($fusion_uc_additional && !$teaser): ?>
        <div id="product-additional" class="product-additional">
          <?php print $fusion_uc_additional; ?>
        </div>
        <?php endif; ?>

Thx in advance Michael.

💬 Support request
Status

Closed: outdated

Version

1.0

Component

Code

Created by

🇳🇱Netherlands mike.vindicate

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇮🇹Italy apaderno Brescia, 🇮🇹

    I am closing this issue, since it is for a Drupal version that now is not supported.
    Please re-open it if the issue is also relevant for other project branches that require a supported Drupal version

Production build 0.71.5 2024