Author Topic: Show Original Price without custom field options  (Read 475 times)

colflagg

  • Beginner
  • *
  • Posts: 3
  • A beginner
Show Original Price without custom field options
« 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

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

  • Beginner
  • *
  • Posts: 3
  • A beginner
Re: Show Original Price without custom field options
« Reply #1 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.

colflagg

  • Beginner
  • *
  • Posts: 3
  • A beginner
Re: Show Original Price without custom field options
« Reply #2 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.

AH

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3173
  • VirtueMart Version: 3.8.2
Re: Show Original Price without custom field options
« Reply #3 on: January 28, 2020, 09:35:53 am »
Quote
I'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.9.18
php 7.3

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9654
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: Show Original Price without custom field options
« Reply #4 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
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 4330
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3
Re: Show Original Price without custom field options
« Reply #5 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.