News:

Support the VirtueMart project and become a member

Main Menu

Checkout page layout

Started by Bit Stupid, October 03, 2013, 19:03:27 PM

Previous topic - Next topic

Bit Stupid

Hey Guys

I am having a bit of an issue with the check out display on my Virtuemart checkout.  Using Latest VM (updated today so is it 2.0.24?) and joomla 2.5.9

I have previously edited the site to remove all pricing in the check out section so the user could use the site and place enquiry orders.  Frustratingly the site owners now want to display pricing and ordering functions on the site!  More annoyingly I did many many steps to remove all the references to pricing from the site.

By lucky chance though I updated VM today and this has defaulted most of my edits back!!  Yes I know I should use overrides and I have always tried to do this, including following the documentation on it here step by step but I just cannot get it working!

Anyway, now I am faced with one primary problem.  In the Checkout my basic price Ex-VAT is not displaying.  The header on the table where I guess this is meant to display is there but not the content.

I have searched and search for where I might have edited things to get this removed in the first place.  but with no joy.  I am quite sure it is not the config settings as the price ex tax shows fine on the product details page.

Any ideas where to start looking?

PS - the site is offline just now during the re-config period but if required I can put online and send site details.

One other thing I am trying to do.  Less important though.  I would love to change the order so the SKU field appears before the Name field.  By trial I have found the default_pricelist.php file which I have found where to control the header but not the content?

Any thought or helps gets massive kudos points and a general sense of helping out someone at the end of their wits.

Russ

Update to second question


I solved this with a little more tinkering. 
from line 112 I amended code to the following
<tr>
   <th align="left"><?php echo JText::_ ('COM_VIRTUEMART_CART_SKU') ?></th>
   <th align="left"><?php echo JText::_ ('COM_VIRTUEMART_CART_NAME') ?></th>
   <th
      align="center"
      width="60px"><?php echo JText::_ ('COM_VIRTUEMART_CART_PRICE') ?></th>
   <th
      align="right"
      width="140px"><?php echo JText::_ ('COM_VIRTUEMART_CART_QUANTITY') ?>
      / <?php echo JText::_ ('COM_VIRTUEMART_CART_ACTION') ?></th>


   <?php if (VmConfig::get ('show_tax')) { ?>
   <th align="right" width="60px"><?php  echo "<span  class='priceColor2'>" . JText::_ ('COM_VIRTUEMART_CART_SUBTOTAL_TAX_AMOUNT') . '</span>' ?></th>
   <?php } ?>
   <th align="right" width="60px"><?php echo "<span  class='priceColor2'>" . JText::_ ('COM_VIRTUEMART_CART_SUBTOTAL_DISCOUNT_AMOUNT') . '</span>' ?></th>
   <th align="right" width="70px"><?php echo JText::_ ('COM_VIRTUEMART_CART_TOTAL') ?></th>
</tr>



<?php
$i = 1;
//       vmdebug('$this->cart->products',$this->cart->products);
foreach ($this->cart->products as $pkey => $prow) {
   ?>
<tr valign="top" class="sectiontableentry<?php echo $i ?>">
   <td align="left"><?php  echo $prow->product_sku ?></td>
   <td align="left">
      <?php if ($prow->virtuemart_media_id) { ?>
      <span class="cart-images">
                   <?php
         if (!empty($prow->image)) {
            echo $prow->image->displayMediaThumb ('', FALSE);
         }
         ?>
                  </span>
      <?php } ?>
      <?php echo JHTML::link ($prow->url, $prow->product_name) . $prow->customfields; ?>

Bit Stupid

Anyone anywhere please help?

Even just a pointer to which files?

Maxim Pishnyak

Errm, it's not easy to find what about you are actually asking in so long post. Could you be so nice to say your question in first sentence of mentioned by me post?
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

Bit Stupid

Hi thanks for looking at this for me

The basic question is I am faced with one primary problem.  In the Checkout page my basic price Ex-VAT is not displaying.  The header on the table where I guess this is meant to display is there but not the content.

Any guidance on what files (and what to look for within those files would be appreciated

Maxim Pishnyak

Update your insecure Joomla and post the URL.
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart