• Resolved Jason Wong

    (@eljkmw)


    The Item Price column is not included in the Request a Quote page, which is very odd.
    How can this column be added between the Product and Quantity columns?

    Please advise. Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Jason Wong

    (@eljkmw)

    I figured out the solution for myself, and did the following.

    1. Duplicate the “request-quote-view.php” file from the templates folder, to the woocommerce folder within a child theme.
    2. Add after line 21,
      <th class="product-price"><?php esc_html_e( 'Price', 'yith-woocommerce-request-a-quote' ); ?></th>
    3. Then, add between lines 142 and 144,
      <td class="product-price" data-title="Price">
      	<?php
      	echo apply_filters( 'yith_ywraq_product_price', WC()->cart->get_product_price( $_product ), $product_id );
      	?>
      </td>
    4. Finally, change line 146, from colspan="5" to colspan="6"
    Thread Starter Jason Wong

    (@eljkmw)

    1. Next, duplicate the “request-quote.php” file from the templates/emails folder, to the woocommerce/emails folder within a child theme.
    2. Add after line 22,
      <th scope="col" style="text-align:left; border: 1px solid #eee;"><?php _e( 'Price', 'yith-woocommerce-request-a-quote' ); ?></th>
    3. Then, add after line 39,
      <td scope="col" style="text-align:left;"><?php echo WC()->cart->get_product_price( $_product ); ?></td>
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Item Price column not included’ is closed to new replies.