VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: benhood on September 04, 2013, 05:11:37 AM

Title: Total price not displaying correctly VM2
Post by: benhood on September 04, 2013, 05:11:37 AM
Hello,

I have a problem since updating to VM 2.0.22c running on Joomla! version, 2.5.11.

• The individual price for the product is displaying as the TOTAL price of the product multipled by quantity set.
• The price for the total quantity of product is displaying incorrectly inline with the product
• The final total is the correct amount for the quantity of the product.

See screenshot attached. The individual price for the product should be $6.50

Any help would be greatly appreciated.

Regards
Ben Hood


Website in question: http://greenfarmhouse.com/



[attachment cleanup by admin]
Title: Re: Total price not displaying correctly VM2
Post by: Milbo on September 04, 2013, 12:59:10 PM
For me it looks like you have an old override in it,... just disable this override.
Title: Re: Total price not displaying correctly VM2
Post by: jjk on September 04, 2013, 13:59:04 PM
Not related to your question, but I noticed that the product details page I looked at (Ozzie Dukkah 50gm Sachet) was loading extremely slow because you are using a huge image in this product details view: 3.456px × 3.456px (scaled to 292px × 292px). If you want to display a 292 x 292 px image, you can speed up the page loading significantly by uploading exactly this size image.
Title: Re: Total price not displaying correctly VM2
Post by: benhood on September 04, 2013, 15:58:58 PM
Thanks for the replies guys!

@Milbo > We inherited this site from another host and are not familiar with overrides... where would you find them within the VM back end?


Quote from: Milbo on September 04, 2013, 12:59:10 PM
For me it looks like you have an old override in it,... just disable this override.
Title: Re: Total price not displaying correctly VM2
Post by: Milbo on September 04, 2013, 17:16:38 PM
http://docs.virtuemart.net/tutorials/33-templating-layouts/78-introduction-template-system.html

just disable your overrides. Maybe your old layout catches an old error which is fixed now.
Title: Re: Total price not displaying correctly VM2
Post by: benhood on September 09, 2013, 13:09:44 PM
Thanks for your replies. As I mentioned, we have inherited this site from another host and their template code is rather messy. Is there anyone you can recommend to look at the code for us?

Title: Re: Total price not displaying correctly VM2
Post by: Maxim Pishnyak on September 13, 2013, 11:04:24 AM
For what VM version originally your template overrides were created?

Prepare to use DiffMerge or Kdiff programs to compare files.