Author Topic: SOLVED: Delete price in custom field  (Read 2204 times)

mdelreal

  • Beginner
  • *
  • Posts: 17
SOLVED: Delete price in custom field
« on: July 15, 2012, 05:24:49 AM »
Hi,

I want to delete the price in the custom field but i don't know how to do... please help me.

Thanks a lot
Cheers,
Manuel




mdelreal

  • Beginner
  • *
  • Posts: 17
Re: Delete price in custom field
« Reply #1 on: July 17, 2012, 10:07:46 AM »
I do not think anyone knows how to fix this   ;)

Thanks in advance
Manuel

jefchenko

  • Beginner
  • *
  • Posts: 8
Re: Delete price in custom field
« Reply #2 on: July 17, 2012, 16:33:37 PM »
in virtuemart administrator backend: go to products, and edit your specific olive oil product.
Then look at the different tabs, the last one mentions custom fields, where you will find the price as a custom field (stockable variant)

mdelreal

  • Beginner
  • *
  • Posts: 17
Re: Delete price in custom field
« Reply #3 on: July 18, 2012, 09:42:11 AM »
Hi Jefchenko, thanks for your responce.

I think I explained badly.

I want the price of that product option but i don't want to see the price at the drop-down

Thanks
Manuel

mdelreal

  • Beginner
  • *
  • Posts: 17
Re: Delete price in custom field
« Reply #4 on: July 21, 2012, 13:10:49 PM »
anyone???

Please, i'm lost

Thanks
Manuel

easy

  • Jr. Member
  • **
  • Posts: 69
Re: Delete price in custom field
« Reply #5 on: July 28, 2012, 13:48:07 PM »
search this forum, it was somewhere here, you have to edit one file only

mdelreal

  • Beginner
  • *
  • Posts: 17
Re: Delete price in custom field
« Reply #6 on: July 29, 2012, 04:20:12 AM »
Where???, i was looking for but i didn't found it

lol2x

  • Beginner
  • *
  • Posts: 10
Re: Delete price in custom field
« Reply #7 on: July 29, 2012, 05:21:26 AM »
yea but in forum there ist only for old version of VM not for 2.0.8.e

easy

  • Jr. Member
  • **
  • Posts: 69
Re: Delete price in custom field
« Reply #8 on: July 29, 2012, 05:24:53 AM »
Hi mdelreal,

I read your other post on this forum and please let me know what you'd like to get most?

- show custom field price without any tax?
or
- hide custom field price at all?

If the first option is what you like most please do a print screen of your taxes page (configuration/taxes)

mdelreal

  • Beginner
  • *
  • Posts: 17
Re: Delete price in custom field
« Reply #9 on: July 29, 2012, 10:45:11 AM »
Either options are valid:
 
Hide prices on custom fields or set prices with taxes  (if possible I would like to know the two ways to do  ;) )

I think the problem because in my country we have 3 types of VAT

Thanks
Manuel




ciriman

  • Beginner
  • *
  • Posts: 18
Re: Delete price in custom field
« Reply #10 on: July 30, 2012, 10:40:18 AM »
VirtueMart 2.0.8e

After much stress I have the solution! I found the string that generates the content selection fields

administrator/components/com_virtuemart/models/customfields.php
Code: [Select]
$productCustom->text = $productCustom->custom_value . ' ' . $price;
delete from the string .$price or replace with another value.. i hope this help you

mdelreal

  • Beginner
  • *
  • Posts: 17
SOLVED: Re: Delete price in custom field
« Reply #11 on: July 30, 2012, 11:33:05 AM »
Hi Ciriman,

Fantastic, works fine!!!

Thanks a lot
Manuel

easy

  • Jr. Member
  • **
  • Posts: 69
Re: SOLVED: Delete price in custom field
« Reply #12 on: July 31, 2012, 17:45:47 PM »
Hi guys,
I'm glad you found it, sorry I didn't get back to you earlier.

You can also, if you like, add after custom filed name in the same box the total price with the currency symbol but it will beshown in the cart as well!

So your custom field can show the total price instead of wrong taxed additional fee. You can also write custom field fee of course there. Whatever you like but remember it will be text only and you will need to edit it when you change the custom field value as well.

TheBlueMage

  • Beginner
  • *
  • Posts: 4
Re: SOLVED: Delete price in custom field
« Reply #13 on: August 16, 2012, 03:16:48 AM »
We have a similar problem to mdelreal in that a number of our products have custom fields, but we want our customers only to see the prices with tax. Showing the before tax figure is creating confusion.
Ciriman identified where the price is generated (excellent, thanks Ciriman) but what do we replace $price with to show customer the after tax figure? I'm thinking it's probably something simple, but being a coding newbie I'm at a loss.

VirtueMart is a great product, but show me how to fix this niggly problem and for us it will be an Ace product!

Hope someone can help as we can't find anything else that fits on the forum's boards.

lucvillalba

  • Beginner
  • *
  • Posts: 6
    • Luc Villalba - Webmaster freelance
Re: SOLVED: Delete price in custom field
« Reply #14 on: October 10, 2012, 07:47:47 AM »
Works perfect!!!!!!!
Création de sites web, Référencement, Intégration, Webdesign... Un Webmaster freelance pour vos campagnes de communication sur le web...

VirtueMart Forum

Re: SOLVED: Delete price in custom field
« Reply #14 on: October 10, 2012, 07:47:47 AM »