Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Virtuemart Template - PureMart (SKU# FLEX-00010)

TOPIC: Discount price set up

Discount price set up 11 years 1 month ago #3382

Hello im using your PureMart template, and i have manage to set up:
regular price
new price with discount
total saving

but my problem is that i dont want to have that "regular price" field in all other products which dont have discount (i want there to be only one price in products without discount). i have tried to do this with shopper groups but without success (instead to show me prices as i want, it show "Call us for price").
here is my site url: bitolapromo.com/pbc/index.php?option=com_virtuemart&view=category&virtuemart_category_id=56&lang=mk

i hope that i will have your help as soon as possible. thank you
The topic has been locked.

Discount price set up 11 years 1 month ago #3384

Hi,

theoretically you shouldn't have a 2nd price if it isn't discounted..

the code checks if the base price is the same as the sales price and if so just shows the sales price

e.g. if the prices were different it would show the crossed out base price
if (empty($basePriceWithTax) && $priceWithoutTax != $salesPrice) {

Can you give me a link to a page with no discounted prices?

Cheers
The topic has been locked.

Discount price set up 11 years 1 month ago #3389

Hi John,
here is the link to other products where there are two prices instead only one:
bitolapromo.com/pbc/index.php?option=com_virtuemart&view=category&virtuemart_category_id=5&lang=mk

please check that link, and i will be very happy if you answer me ASAP. thanks
The topic has been locked.

Discount price set up 11 years 1 month ago #3392

Had a look - as I said above a check is made to see if

$priceWithoutTax != $salesPrice

this check is failing and the strikethru is showing...

I notice that one price is 1400,00 and the other is 1400 - where are you setting these? - they must be equal for the logic to work..
Is this their actual values if you echo out

$priceWithoutTax
and
$salesPrice ?


otherwise you will need some code in the template to strip the ,00 before the check is made..

Cheers
The topic has been locked.

Discount price set up 11 years 1 month ago #3399

Here is how i enter the prices for the products (on the screenshot). i enter only one price.
and that price with strikethru is showing automaticly.

"I notice that one price is 1400,00 and the other is 1400 - where are you setting these? - they must be equal for the logic to work..
Is this their actual values if you echo out"


im entering only 1400 and after that, ,00 it is added by Virtuemart
Attachments:
The topic has been locked.

Discount price set up 11 years 1 month ago #3407

This definitely seems the problem...

will need ftp and joomla admin to lok further..

If you want me to look then send the details to john at flexiblewebdesign.com

cheers
The topic has been locked.

Discount price set up 11 years 1 month ago #3411

I have sent you mail, please confirm when you will receive.
The topic has been locked.

Discount price set up 11 years 1 month ago #3419

Yes - have received - it is very late here now - will look 1st thing tomorrow..

Cheers
The topic has been locked.

Discount price set up 11 years 1 month ago #3445

Fixed - you have to have your price rounding the same if you have a comparitive statement...

you had some set to 2 figutes and some to zero..

Cheers
Attachments:
The topic has been locked.

Discount price set up 11 years 1 month ago #3457

Thanks a lot, problem solved!!!!
The topic has been locked.

Discount price set up 11 years 1 month ago #3458

OK - topic solved
The topic has been locked.
Time to create page: 0.091 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo