News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

How To Remove The Price From Quantity Box Please?

Started by Marga123, December 28, 2011, 18:06:47 PM

Previous topic - Next topic

Marga123

Hi  :)
Someone let me know please, how do
you remove the prices from quantity box
because, I've been trying to work this out for ages.


I've attach image below to show you what I mean

Many thanks for your help

Best Regards

Chalres 



[attachment cleanup by admin]

PRO

are all prices the same for the options? same as the original product?


IF so, dont fill in the price for the option


Marga123

Many Thanks for your reply BanquetTables  :)

The problem is when I leave the
fill in the price for the option as blank.

The word "Free" shows

I've attached a image to show you what happens

Many Thanks again for your time and help

Best Regards

Charles

[attachment cleanup by admin]

PRO

you can do a language override if you are using J1.7

COM_VIRTUEMART_CART_PRICE_FREE=""


http://forum.virtuemart.net/index.php?topic=92944.0

Marga123

Thank BanquetTables.pro That worked great!

Do you know where I find the  ":"
to remove from drop down menu?

Would let know answer to this
because it's my last question please?

Many Thanks and Best Regards

Charles



[attachment cleanup by admin]

PRO

you could do a strip and replace

<?php $field->display  = str_replace( ':', '', $field->display) ?><?php echo $field->display ?>

Marga123

Thank you for your great help BanquetTables.pro, :) that worked great!

The only thing that happens now is
when I click on the "add to cart" button
I see this message

"Please enter a valid quantity for this item"

I've attached a image to show you
the error message.

Many thanks for your help

Best regards

Charles 

[attachment cleanup by admin]

PRO


Marga123

Thank once again great help  :)
Yes, I did I removed the code for it.
Is that not right way to do it?     

PRO


You are going to have to add this to the add to cart form down where the other hidden fields are

<input type="hidden" name="quantity[]" value="1" />

Marga123

Thank you, I'm most grateful for your help  :)
Do you have BanquetTables.pro facebook fanpage I can like?
To say thanks

Best Regards

Charles

PRO

Quote from: Marga123 on January 04, 2012, 15:12:09 PM
Thank you, I'm most grateful for your help  :)
Do you have BanquetTables.pro facebook fanpage I can like?
To say thanks

Best Regards

Charles

http://www.facebook.com        /pages/Banquet-Tables-Pro/324130188952


Yes, I dont do much on there. I dont promote it, but you can like it