Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Virtuemart Modern Slider - Products by Category Tabs (SKU# FLEX-00016)

TOPIC: Price display

Price display 10 years 2 months ago #8474

Hi

I'm displaying some rather surprising prices here.

The attached images should tell the story.

I can send copies of the relevant php files, if you wish.

What am I doing wrong?

Thank you,

Murray.

VirtueMart 2.0.20b

This email address is being protected from spambots. You need JavaScript enabled to view it.
Last Edit: 10 years 2 months ago by Murray Taylor. Reason: extra info
The administrator has disabled public write access.

Price display 10 years 2 months ago #8500

Hi,

First of all, update the Modern slider module.
(in case you still have the old 1st version)

We have recently fixed the price issue with the module and released a new version. I don't remember the exact date when we have released update (probably it was 2-3 weeks ago). But install the new version just in case.

I just emailed you the download link. Download the module from our server and install it to your joomla.

THEN!!
Through Module parameters.
Enable this option as well: Show Sale Price

Because Show Sale Price means; the actually(final) product price. Hiding it doesn't make any sense.

Eventually, to show the product price; these parameters should be enabled (at least):
- Show Prices
- Show Sale Price
- Show discountAmount (it is optional but recommended)

Keep this in mind: Price Override feature is used to apply "temporary discount". Don't use Price Override feature to increase the price.

Regards,
Support
Last Edit: 10 years 2 months ago by Support.
The administrator has disabled public write access.

Price display 10 years 2 months ago #8524

Hi

Thank you for the link to the new version and your advice on settings.

The earlier version has been uninstalled and replaced with the latest version.

I've set the module price parameters according to your instructions

You mention the correct use of the override in product price settings: I believe I have been doing this in the manner you suggest, which is to only apply it in the case of a discount. Therefore I have left those settings unchanged.

Unfortunately, we still have the same incorrect display, indicated by the red circles I've drawn on the first of the four images attached.


Murray.
Last Edit: 10 years 2 months ago by Murray Taylor. Reason: typo
The administrator has disabled public write access.

Price display 10 years 2 months ago #8539

That's really interesting. But no worry, i will help you to get over it. In the worst scenario (in case i can't solve it, you will get your full refund)

I thought showing the prices work perfectly in all kind of different scenario (with the newest version). Apparently a newer version is required.

OHH by the way, you are sure the CACHE isn't activated, right? Because if you activate the CACHE, even though you install the new version of module, your website will still show the module with its old version.

Anyway, could you please create me a joomla (super) administrator account and FTP account, send it to This email address is being protected from spambots. You need JavaScript enabled to view it. and let me take a look at your backend parameters? I will try to resolve the problem. If i change anything configuration in the backend or modify any PHP file, i will provide you the detailed information about my touches.

While emailing to This email address is being protected from spambots. You need JavaScript enabled to view it.
Don't forget to include this forum topic's URL at the of your message as reference to avoid possible confusion in our end.


Regards.
Support & Development
Last Edit: 10 years 2 months ago by Support.
The administrator has disabled public write access.

Price display 10 years 2 months ago #8574

Actually, the cache was still activated, so I re-installed the new version after deactivating the cache.
However the same problem remains.
Perhaps a Jquery issue? Had to apply Patch 4..
Thank you for your offer to take a closer look.
I will send you the required access details.
BTW since upgrading, Modules Anywhere does not seem to recognize it.

Regards,
Murray.
The administrator has disabled public write access.

Price display 10 years 2 months ago #8600

This case has been resolved.

The problem was; the module was calculating the OLD price wrongly. Because module was doing this calculation to get the old price:

OLD_price = New+Price - Discount

But in case the Discount value is positive, the correct calculation should have been:
OLD_price = NEW_price + Discount

FYI: in the latest Virtuemart versions, the discount prices have negative value.

For those who have a similar problem. The solution has been applied to module permanently, but you may also resolve this problem by yourself with a simply coding changes;

(with the code below, it won't matter if the discount is negative or positive, the solution will always be correct)

1- Open this PHP file:
/modules/mod_flexible_vm_pros_by_cats/tmpl/default.php

Look for this line (line 93rd)
$price_before_discount = $item->prices['salesPrice'] - $item->prices['discountAmount']; ?>

Replace it with this:
$price_before_discount = $item->prices['salesPrice'] + abs($item->prices['discountAmount']); ?>


Case solved, topic closed.

Regards,
Support
Last Edit: 10 years 2 months ago by Support.
The administrator has disabled public write access.

Price display 10 years 2 months ago #8621

All good now.

Many thanks for your fantastic support

Murray.
The administrator has disabled public write access.

Price display 10 years 2 months ago #8637

Thanks for updating your own topic Murray.

Case solved. Topic is closed.

if you like Modern-Slider and satisfied with the support you have received, please "write a review" on:
www.flexiblewebdesign.com/Virtuemart-Modules/Virtuemart-Modern-Slider-Products-by-Category-Tabs

Rate Modern-Slider and write a couple of sentences to share your experience with the support team. It won't take more than 2 minutes from you but it is extremely important for us. Thanks in advance!


Regards,
Support
The administrator has disabled public write access.
Time to create page: 0.213 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