VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: ralfeez on March 22, 2012, 21:43:50 PM

Title: Base Price will not show
Post by: ralfeez on March 22, 2012, 21:43:50 PM
I know that there must be a simple explanation, but I can't figure it out. Most prices will show when they are properly checked in Configuration. Some of them do not for any group or under any configuration that I have found yet. The missing prices are Baseprice, Baseprice modificator, New baseprice modificated by choosen product variant, and Discounted Price without tax. I can't get them to show no matter what. Please any help is appreciated.
thank you,
Ralph
Title: Re: Base Price will not show
Post by: liv on March 23, 2012, 00:25:47 AM
Same problem here after I upgraded fromc om_virtuemart.2.0.3.E to com_virtuemart.2.0.3.G
I have Joomla 2.53. I would like to show only one sales price (Which I could in version E). Now I can either show no prices or two prices (final salesprice and salesprice with discount).
Title: Re: Base Price will not show
Post by: ralfeez on March 23, 2012, 00:36:23 AM
I am using J2.5.3 and VM2.0.2 without any success. If someone has a suggestion, I would appreciate your input.
Thank you,
Ralph
Title: Re: Base Price will not show
Post by: corymp on March 23, 2012, 02:33:26 AM
and if you check "Final Sales Price", "Sales price with discount" is shown...... need to change

For me, theres no taxes, so final sales price and sales price with discount is essentially the same price. I need to be able to show one or the other....

Also, price is not showwing in cart under "Price:"
Title: Re: Base Price will not show
Post by: ralfeez on March 23, 2012, 13:44:01 PM
Quote from: corymp on March 23, 2012, 02:33:26 AM
and if you check "Final Sales Price", "Sales price with discount" is shown...... need to change

I am sorry, but I do not understand what you are saying. Please give me more information.
Title: Re: Base Price will not show
Post by: corymp on March 23, 2012, 13:57:39 PM
sales price and sales price with discount is always shown, even if only final sales price is checked.

I would just like sales price to be shown...
Title: Re: Base Price will not show
Post by: jakobe on April 12, 2012, 04:43:23 AM
same problem here

double prices, I can either show no prices or

Salesprice with discount:
Sales price:

I can get get just one price to show by checking "base price" and "sale price wihtout tax".....but then it doesnt show any prices in the checkout cart.
Title: Re: Base Price will not show
Post by: Milbo on April 12, 2012, 11:29:14 AM
Quote from: corymp on March 23, 2012, 13:57:39 PM
sales price and sales price with discount is always shown, even if only final sales price is checked.

I would just like sales price to be shown...

This is strange yes, are you sure that you do not price overrides per shoppergroup? Remove all this overrides and work first only with the main configuration.
Title: Re: Base Price will not show
Post by: jakobe on April 12, 2012, 15:25:29 PM
doesnt have any impact on the output....still the same effect. double pricing still shows.

Salesprice with discount:
Sales price:
Title: Re: Base Price will not show
Post by: ralfeez on April 12, 2012, 16:48:36 PM
No this is definitely still an issue. I actually had to hack the core code to be able to use the new version of Virtuemart. It is unusable for me without hacking.
Thank you,
Ralph
Title: Re: Base Price will not show
Post by: jakobe on April 12, 2012, 16:53:05 PM
unusable here as well.

was supposed to go live on friday but it doesnt look like thats gonna happen.

dont understand how you can have a "stable" release of a shopping cart when you cant even display prices properly.

been fighting wiht VM2 for 3 weeks, you'd think Id learn my lesson by now.
Title: Re: Base Price will not show
Post by: PRO on April 12, 2012, 18:23:39 PM
Quote from: liv on March 23, 2012, 00:25:47 AM
Same problem here after I upgraded fromc om_virtuemart.2.0.3.E to com_virtuemart.2.0.3.G
I have Joomla 2.53. I would like to show only one sales price (Which I could in version E). Now I can either show no prices or two prices (final salesprice and salesprice with discount).


This is all I use, it is the final sales price with discount, and no tax added


<?php echo $this->currency->createPriceDiv('priceWithoutTax', 'COM_VIRTUEMART_PRODUCT_SALESPRICE_WITHOUT_TAX', $this->product->prices); ?>
Title: Re: Base Price will not show
Post by: PRO on April 12, 2012, 18:25:21 PM
Quote from: corymp on March 23, 2012, 02:33:26 AM
and if you check "Final Sales Price", "Sales price with discount" is shown...... need to change


what is the difference?


Final sales price is after discount.

Title: Re: Base Price will not show
Post by: PRO on April 12, 2012, 18:28:24 PM
Quote from: corymp on March 23, 2012, 02:33:26 AM

Also, price is not showwing in cart under "Price:"

That column is "baseprice"


Its best to enable all prices in vmart config.

Then,

change your actual product details, & category template to show what you want.



ALSO guys,

In your admin go to the live update. DO NOT UPDATE though.
There is text you can read about things that changed in the latest release.

Title: Re: Base Price will not show
Post by: ralfeez on April 13, 2012, 19:18:41 PM
Banquet,
I am sorry, but can you be a little more clear with your answers. I am just not following you.
thank you,
Ralph
Title: Re: Base Price will not show
Post by: PRO on April 13, 2012, 19:49:45 PM
Quote from: ralfeez on April 13, 2012, 19:18:41 PM
Banquet,
I am sorry, but can you be a little more clear with your answers. I am just not following you.
thank you,
Ralph

ralfeez, can you be more clear?

Which response would you like more information on?

Do you have a specific question
Title: Re: Base Price will not show
Post by: ralfeez on April 13, 2012, 19:55:28 PM
Quote from: BanquetTables.pro on April 12, 2012, 18:23:39 PM
Quote from: liv on March 23, 2012, 00:25:47 AM
Same problem here after I upgraded fromc om_virtuemart.2.0.3.E to com_virtuemart.2.0.3.G
I have Joomla 2.53. I would like to show only one sales price (Which I could in version E). Now I can either show no prices or two prices (final salesprice and salesprice with discount).


This is all I use, it is the final sales price with discount, and no tax added


<?php echo $this->currency->createPriceDiv('priceWithoutTax', 'COM_VIRTUEMART_PRODUCT_SALESPRICE_WITHOUT_TAX', $this->product->prices); ?>
Are you adding this manually to the code?
Thanks,
Ralph
Title: Re: Base Price will not show
Post by: ralfeez on April 13, 2012, 19:56:32 PM
Quote from: BanquetTables.pro on April 12, 2012, 18:25:21 PM
Quote from: corymp on March 23, 2012, 02:33:26 AM
and if you check "Final Sales Price", "Sales price with discount" is shown...... need to change


what is the difference?


Final sales price is after discount.


Are you saying that this is a bug?
Thank you,
Ralph
Title: Re: Base Price will not show
Post by: ralfeez on April 13, 2012, 19:59:29 PM
Quote from: BanquetTables.pro on April 12, 2012, 18:28:24 PM
Quote from: corymp on March 23, 2012, 02:33:26 AM

Also, price is not showwing in cart under "Price:"

That column is "baseprice"


Its best to enable all prices in vmart config.

Then,

change your actual product details, & category template to show what you want.



ALSO guys,

In your admin go to the live update. DO NOT UPDATE though.
There is text you can read about things that changed in the latest release.


So you are saying that the only way to set the correct price to show is by manually coding the template to match what you want? If so, that is really poor development on the part of VM2.0. I had to manually change everything to get it to work for me, but is this product really that far from being useful to the average user?
Thank you,
Ralph
Title: Re: Base Price will not show
Post by: PRO on April 13, 2012, 20:14:29 PM
Quote from: ralfeez on April 13, 2012, 19:55:28 PM
Quote from: BanquetTables.pro on April 12, 2012, 18:23:39 PM
Quote from: liv on March 23, 2012, 00:25:47 AM
Same problem here after I upgraded fromc om_virtuemart.2.0.3.E to com_virtuemart.2.0.3.G
I have Joomla 2.53. I would like to show only one sales price (Which I could in version E). Now I can either show no prices or two prices (final salesprice and salesprice with discount).


This is all I use, it is the final sales price with discount, and no tax added


<?php echo $this->currency->createPriceDiv('priceWithoutTax', 'COM_VIRTUEMART_PRODUCT_SALESPRICE_WITHOUT_TAX', $this->product->prices); ?>
Are you adding this manually to the code?
Thanks,
Ralph

adding, NO

I delete everything else.

My
productdetails/default_pricelist.php

THIS is the WHOLE file

<?php
// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die('Restricted access');
?>
<div class="product-price" id="productPrice<?php echo $this->product->virtuemart_product_id ?>">
    <?php
    echo $this->currency->createPriceDiv('priceWithoutTax', 'COM_VIRTUEMART_PRODUCT_SALESPRICE_WITHOUT_TAX', $this->product->prices);
    ?>
</div>
Title: Re: Base Price will not show
Post by: PRO on April 13, 2012, 20:17:04 PM
Quote from: ralfeez on April 13, 2012, 19:56:32 PM
Quote from: BanquetTables.pro on April 12, 2012, 18:25:21 PM
Quote from: corymp on March 23, 2012, 02:33:26 AM
and if you check "Final Sales Price", "Sales price with discount" is shown...... need to change


what is the difference?


Final sales price is after discount.


Are you saying that this is a bug?
Thank you,
Ralph


Not at all,

WITH MY configuration, there is no difference.



so for you, whats the difference?

Because with so many ways to configure discounts, markups, taxes etc. It could be quite a few things,. but noooooooooooooooooooooooooooooo

Everybody says the SHIUIUHJHJHJ   is broken, or bugs
Title: Re: Base Price will not show
Post by: jakobe on April 13, 2012, 22:39:26 PM
totally unusable unless this works flawlessly.

please fix asap, I need to launch.
Title: Re: Base Price will not show
Post by: corymp on April 13, 2012, 23:21:45 PM
Check your shopper groups to see what prices are shown. In configuration make sure all prices are shown. And then learn your template overrides and how prices are shown on them. You can get creative and show prices whatever way you like. Using language overrides also help. I have no problems with showing prices but I did have to customize a few things. Not everyone uses this cart the same and some things you have to tailor for yourself.

Just my 2¢

Sent from my Galaxy Nexus using Tapatalk 2
Title: Re: Base Price will not show
Post by: jakobe on April 14, 2012, 00:46:04 AM
I am able to modify my template to hide these prices....but it hides them for everyone...not just the particular shopper group.

Title: Re: Base Price will not show
Post by: corymp on April 14, 2012, 03:47:44 AM
turn off the price in the shopper group you want it hidden from
Title: Re: Base Price will not show
Post by: dsrpmedia on June 15, 2012, 06:25:42 AM
my god this is incredibly confusing.

all I want to do is show just the price before tax on the product details page (or if there is a discount then the amount of the discount, and the discounted price.)

but if I turn off all the other options (eg tax) in the pricing list in the config, then the tax etc. does not show up in the cart.

are you saying I have to somehow rewrite the code for the product details page to not show taxes?

I`m not a coder - how would I do that?
Title: Re: Base Price will not show
Post by: tblueweb on August 15, 2012, 22:15:47 PM
This is a mess IMHO. I have set to display ALL price variations in the default shopper group, thats all I have. Yet the base price is blank. The base price shows in the shopping cart as expected but not in the product detail display. It will be very confusing the buyer about what is discounted without base price. I have several years with VM1 and have had no problems with price display. Isn't this a bug. BTW am on 2.0.8e and j2.5.6.

e.g this is what i get with all prices displayed with product base of 19.95 and overide to 16.95. >>>>>
Price:
Price with discount: $16.95
Sales price: $16.95
Sales price without tax: $16.95
Discount: $3.00
Title: Re: Base Price will not show
Post by: Cyngen on August 16, 2012, 00:04:23 AM
I'm in the same camp as the rest.  Right now I have two shopper groups, Anonymous and default. both have all pricing turned on.
Then under configuration->pricing I've turned on all options to show pricing and labels.  The most i get shown are Sales price and Sales price with tax.

I'd hate to abandon this with all the work i've done, but I might well have to go with another product soon in order to get the job done for a client.  I'm not sure I'm doing something wrong or if it's truly a bug.

I'm using Joomla! 2.5.6 and VirtueMart v2.0.8e

I've tested the pricing pages with and without being logged in.  I'm stumped right now.
Title: Re: Base Price will not show
Post by: Cyngen on August 20, 2012, 19:39:10 PM
Any update to this issue? 
Title: Re: Base Price will not show
Post by: jenkinhill on August 21, 2012, 11:04:55 AM
Quote from: Cyngen on August 16, 2012, 00:04:23 AM
under configuration->pricing I've turned on all options to show pricing and labels.  The most i get shown are Sales price and Sales price with tax.

Suggests to me that you are using a template override where the pricing display layout has not been updated for the current version. Is this a commercial template you are using or did you set up an override when using an earlier VM2 version?
Title: Re: Base Price will not show
Post by: Cyngen on August 21, 2012, 17:18:21 PM
Quote from: jenkinhill on August 21, 2012, 11:04:55 AM
Quote from: Cyngen on August 16, 2012, 00:04:23 AM
under configuration->pricing I've turned on all options to show pricing and labels.  The most i get shown are Sales price and Sales price with tax.

Suggests to me that you are using a template override where the pricing display layout has not been updated for the current version. Is this a commercial template you are using or did you set up an override when using an earlier VM2 version?

thanks for the reply.. I'm using Allrounder template for Joomla 2.5 with the following versions in place:
Joomla 2.5.6
Virtuemart 2.0.8e

this was a clean install and not an upgrade. The Allrounder template was in place prior to installing virtuemart.  I have not done any overrides.

The site is being built now under Joomla and is not online under DNS but can be looked at via updating a local host entry if this would help. I would be happy to share the info for IP address privately if it would help. 

Cheers,
Kurt
Title: Re: Base Price will not show
Post by: jenkinhill on August 21, 2012, 23:46:19 PM
Check if there is a com_virtuemart directory in joomla_root/templates/(allrounder)/html/  - that's where any overrides would be. If you have this directory then just rename it and check the site front end again (after clearing cache).
Title: Re: Base Price will not show
Post by: Cyngen on August 22, 2012, 17:07:01 PM
Did the check, there was no such directory under the template area you defined.  I did however, clear the cache again and still no success.  Good ideas to check, thanks for the assist thus far.

K

Title: Re: Base Price will not show
Post by: Nibiru on August 25, 2012, 03:06:13 AM
I used this code in default_pricelist.php:

echo $this->currencyDisplay->createPriceDiv('','', $this->cart->pricesUnformatted[$pkey]['priceWithoutTax'],false,false,$prow->quantity);


if you don't want the extra:
<div class="PricesalesPrice" style="display : block;"><span class="PricesalesPrice">

use:
echo $this->currencyDisplay->priceDisplay($this->cart->pricesUnformatted[$pkey]['priceWithoutTax'],'',$prow->quantity,false);

Title: Re: Base Price will not show
Post by: tblueweb on August 28, 2012, 01:39:27 AM
Quote from: Cyngen on August 22, 2012, 17:07:01 PM
Did the check, there was no such directory under the template area you defined.  I did however, clear the cache again and still no success.  Good ideas to check, thanks for the assist thus far.

K

Likewise I am have a clean install and no template overrides. In any case this couldn't be the problem as in my case the text "Price:" appears but WITHOUT a price. The discount prices appear or not appear as configured. But clearly this is a bug. VM2 is not pulling or computing the price for the page display in product details. It is for the shopping cart. O have committed two new sites to VM2 and this stuff is not a minor bug. I am not looking forward to debugging the php but since no-one here seems to have an answer i will have to.

Title: Re: Base Price will not show
Post by: Nibiru on August 28, 2012, 03:02:17 AM
Quote from: tblueweb on August 28, 2012, 01:39:27 AM
Likewise I am have a clean install and no template overrides. In any case this couldn't be the problem as in my case the text "Price:" appears but WITHOUT a price. The discount prices appear or not appear as configured. But clearly this is a bug. VM2 is not pulling or computing the price for the page display in product details. It is for the shopping cart. O have committed two new sites to VM2 and this stuff is not a minor bug. I am not looking forward to debugging the php but since no-one here seems to have an answer i will have to.

I had the same problem with a few templates. But most templates were build for VM version 2.0.6. I upgraded it and used this code:
echo $this->currencyDisplay->createPriceDiv('','', $this->cart->pricesUnformatted[$pkey]['priceWithoutTax'],false,false,$prow->quantity);

Search this file:
\templates\<your template>\html\com_virtuemart\cart\default_pricelist.php

I've tried changing a lot of settings and cleaning the cache. No difference. So my problem was that the template was incompatible.


Title: Re: Base Price will not show
Post by: tblueweb on August 28, 2012, 03:46:56 AM
I have no overrides with the template I am using (js natural). There is no com_virtuemart folder within the template/html folder.
Title: Re: Base Price will not show
Post by: jenkinhill on August 28, 2012, 10:27:54 AM
You are checking base price shows when logged into the front end as admin????
Title: Re: Base Price will not show
Post by: Nibiru on August 28, 2012, 13:33:08 PM
If you don't have an override it will use the standard one.

You can find it here then
\components\com_virtuemart\views\cart\tmpl\default_pricelist.php
Title: Re: Base Price will not show
Post by: tblueweb on August 28, 2012, 17:01:29 PM
Ok. WHen logged in as admin base price appears, I have default and anonymous shopper groups. Both have all prices set on. It doesn't matter if I set off or on group specific pricing, unless I am logged in as an admin, no base price.
Title: Base Price will not show
Post by: Cyngen on August 28, 2012, 19:50:04 PM
Same here logged in as admin and prices show fine.


Sent from my iPhone using Tapatalk
Title: Re: Base Price will not show
Post by: kalemonkey on August 30, 2012, 00:47:18 AM
To show the base price for non admins I removed the conditional statement around the price declaration in the components/com_virtuemart/views/productdetails/tmpl/default_showprices.php around line 36.

It's best to create an override for this. I'm not sure if it will have a negative effect but the prices are now displaying correctly for the shoppers that are not admins. Hope this helps.
Title: Re: Base Price will not show
Post by: caseyd on April 09, 2013, 00:36:45 AM
Using vm 2.0.20b, I had to do this also to get base price to actually display.
No matter that all prices are checked to display in config->prices.