News:

Support the VirtueMart project and become a member

Main Menu

Show Original Price without custom field options

Started by colflagg, January 24, 2020, 16:12:05 PM

Previous topic - Next topic

colflagg

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

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

colflagg

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.

colflagg

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.

AH

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. 
Regards
A

Joomla 3.10.11
php 8.0

GJC Web Design

just echo out $product->prices in components\com_virtuemart\sublayouts\prices.php or its over ride to see what prices u need to render
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Studio 42

Activate all prices in the config and check what is the right one for you is the simplest method.