VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product pricing => Topic started by: colflagg on January 24, 2020, 16:12:05 PM

Title: Show Original Price without custom field options
Post by: colflagg on January 24, 2020, 16:12:05 PM
I'm building a store and it's all custom arranged items. Using custom fields to choose the options and add the pricing. The problem is I need to display the original base price at all times and THEN the price with all the modifiers.  No pricing option I choose maintains the original base price when I start selecting options.  Is there a way to do this?

https://www.dakotagunleather.com/index.php/shop/gun-rigs/hollywood-single-detail (https://www.dakotagunleather.com/index.php/shop/gun-rigs/hollywood-single-detail)

For instance if you follow the link above and just choose any second holster you will get a pricing layout like this:
Base price $450.00
Base price with options $450.00
Total: $450.00


I want it to be like this:
Base price $325.00
Base price with options $450.00
Total: $450.00




Joomla: 3.9.14
VM: 3.6.10
Title: Re: Show Original Price without custom field options
Post by: colflagg on January 25, 2020, 17:33:15 PM
I had to do a lot of digging and searching but finally found an answer in this thread: http://forum.virtuemart.net/index.php?topic=121993

I'll be honest here from a software design it's kinda weak.  VM, love your product however, this area is a little wonky.  I ended up in pricing selecting Total Salesprice without tax and Final Salesprice to get what I needed and now have to go change the language files for it to reflect just a basic price and then one with included options.  All of which is already there but unusable.
Title: Re: Show Original Price without custom field options
Post by: colflagg on January 27, 2020, 19:48:13 PM
That doesn't work.  Now when I add products it doesn't add the price variants to the total and lists them as a discount on the invoice and then just over-rides the price and makes it the final cost.

I'm now past due on my delivery date.  Any help would be greatly appreciated.
Title: Re: Show Original Price without custom field options
Post by: AH on January 28, 2020, 09:35:53 AM
QuoteI'm now past due on my delivery date.  Any help would be greatly appreciated.

Then I suggest you pay someone with the knowledge to complete the work for you. 
Title: Re: Show Original Price without custom field options
Post by: GJC Web Design on January 28, 2020, 10:00:12 AM
just echo out $product->prices in components\com_virtuemart\sublayouts\prices.php or its over ride to see what prices u need to render
Title: Re: Show Original Price without custom field options
Post by: Studio 42 on January 28, 2020, 15:05:25 PM
Activate all prices in the config and check what is the right one for you is the simplest method.