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

TOPIC: Prices not showing for Featured Prod on HomePage

Prices not showing for Featured Prod on HomePage 9 years 11 months ago #9606

Hi, I have this problem: On my home page I am displaying, among other stuff, Featured Products ("Populara produkter"). I have set to show product prices, but they don't display. On all other pages where I have Fetured Products activated, prices are shown. What could be wrong in my settings?

Cheers
/Dodo

First image shows Featured Products on the Home page without prices. www.tingshop.com/
Second image shows Featured Products on the Home page with prices. www.tingshop.com/kok-servering/glas
Attachments:
The topic has been locked.

Prices not showing for Featured Prod on HomePage 9 years 11 months ago #9616

Hi,

It is a known problem.
It is happening because of the Flexible Shopping Cart Module.

But the patch is extremely easy, please follow the steps:
(1st and 2nd steps are for Template Overriding, so updating Virtuemart AIO won't retrieve the modification)

1- "COPY" this PHP file:
/modules/mod_virtuemart_product/tmpl/default.php

2- "PASTE" it to here:
/templates/flexible_lightmart/html/mod_virtuemart_product/default.php
(create /mod_virtuemart_product/ folder manually)

3- Then open the "pasted" PHP file:
/templates/flexible_lightmart/html/mod_virtuemart_product/default.php

and look for these lines (depends on the Virtuemart version you are currently using; the line number might be different, so use CTRL+F to find these lines):
echo $currency->createPriceDiv ('salesPrice', '', $product->prices, FALSE, FALSE, 1.0, TRUE);
echo '<div class="product-price">'.$currency->createPriceDiv ('salesPrice', '', $product->prices, FALSE, FALSE, 1.0, TRUE);

and replace them both with these as follows:
echo $currency->priceDisplay($product->prices['salesPrice']);
echo '<div class="product-price">'.$currency->priceDisplay($product->prices['salesPrice']).'</div>';


Basically you are replacing the createPriceDiv function with priceDisplay function. Both of those functions are Virtuemart Core functions that used to show the product price. (one of them show the price right away, another one put the price inside the DIV tag, as you can understand from their names)

After this small patch, you will start seeing the product price in the homepage as well.

Regards,
Support
The topic has been locked.

Prices not showing for Featured Prod on HomePage 9 years 11 months ago #9624

Great! Thanks, it worked.
Now next step, how to show the original price crossed out (if the product is dicounted)? Is that possible?

Edit: Ok, Did I find the right answer here:
www.flexiblewebdesign.com/forum-joomla-virtuemart-template-asymmetric-support/1853-promotions-sale-items#8527

"Yes, you need to create a SALE category and put the DISCOUNTED products into that category."


No... didn't do the trick. Same problem as for the initial solution you presented for me. (HomePage issue with shopping basket)

Sorry for the "noice".
Last Edit: 9 years 11 months ago by Dodo Nalepa. Reason: Still haven't found the solution.
The topic has been locked.

Prices not showing for Featured Prod on HomePage 9 years 11 months ago #9626

Hi Dodo,

I am little confused. Did you sort your problem already? Do you need my assistance?
I was going to close this topic and mark it "solved" but i couldn't be sure. So, please confirm me.

If you like LightMart and satisfied with the support you have received, please "write a review" on:
www.flexiblewebdesign.com/Joomla-Virtuemart-Templates/LightMart

Rate LightMart 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,
Supportt
The topic has been locked.

Prices not showing for Featured Prod on HomePage 9 years 11 months ago #9627

Sorry, the inintial part is solved. Thanks.

In my answer to you, I had a following question: How can I show the original price crossed out (if the product is dicounted)? Is that possible? On the home page. Is that also not showing because of the Flexible Shopping Cart Module?

Sorry for confusing you. Perhaps I should open a new "ticket" for the second question?

Many thanks.
Last Edit: 9 years 11 months ago by Dodo Nalepa.
The topic has been locked.

Prices not showing for Featured Prod on HomePage 9 years 11 months ago #9642

Hi,

Does the "crossed price" (in case of any discount) is hidden only on homepage?
Is it normal in other pages?

Because the Flexible Shopping Cart Module breaks the price structure only on homepage. If there is a problem which should happen only happening on homepage, then it is safe to say "Flexible Shopping Cart Module" is guilty and i will be glad to help you to resolve it. But if it is same in other pages as well (or with using the same module with the official Joomla(bees_20) and official Virtuemart, then it means the VM - Product Module fails to crossed out the original price.

(as far as i know, VM Product Module doesn't cross the original price correctly)
This situation makes our extensions/template not-responsible for that issue. Unfortunately we don't provide free support or step-by-step instructions for custom coding modifications.

Regards.
Support
The topic has been locked.

Prices not showing for Featured Prod on HomePage 9 years 11 months ago #9659

Hi, only on the homepage. See the attached screen shots. The crossed out prices are displayed on product categories pages. Then you see the same products on the homepage. (And no croosed out prices.)

Thanks for helping.

Cheers
/Dodo
The topic has been locked.

Prices not showing for Featured Prod on HomePage 9 years 11 months ago #9669

Hi,

You didn't understand what i am asking.
The screenshots where the price crossing is working correctly belong to Virtuemart Category Browse page, not the VM - Product module itself.

Virtuemart Category Browse is a page that styled by our template (LightMart)
but VM - Product is a module (the official product module that comes with Virtuemart AIO)

Publish this module on other pages (other than Homepage) Or try to change the Joomla Template from flexible_lightmart
to beez_20 or whatever. You will see that, price-crossing still won't work in case of discount.

I already know it won't work, but i want you to see it by yourself.
Because VM - Product module doesn't have the ability to cross the original price (in case of any discount).

To add this feature, some coding changes on /modules/mod_virtuemart_product/tmpl/default.php file is required. Since this issue has nothing to do with our template. I can't provide you free support or step-by-step instructions about it.

You may purchase premium support:
www.flexiblewebdesign.com/premium-support

and let us take care this coding modification for you directly on your website though.

Regards,
Support
Last Edit: 9 years 11 months ago by Support.
The topic has been locked.

Prices not showing for Featured Prod on HomePage 9 years 10 months ago #10074

Hi,
I obviously don't understand.

I tried this: I published your Fancy product slider on the frontpage (homepage) and still couldn't get the prices (and crossed over) to display.

On other pages, yes, it displays. Could you be more specific, do I simply have an incorrect page as a homepage?

Could you please, simply explain for an idiot like me: How can I have these features on the first landing page if address is www.tingshop.com ? - no more.

Cheers
/Dodo
Last Edit: 9 years 10 months ago by Dodo Nalepa.
The topic has been locked.

Prices not showing for Featured Prod on HomePage 9 years 10 months ago #10087

Hi,

Disregard what you have been told previously in this topic.

I don't remember when it was patched. But this problem has been patched already.
You can see; it is working just fine in our live DEMO:
demo.flexiblewebdesign.com/lightmart/index.php

If you provide me your:
- FTP Credentials

to This email address is being protected from spambots. You need JavaScript enabled to view it. i can apply this patch to your website directly.

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 (or in the Subject field) as reference to avoid possible confusion in our end.

Regards,
Support
Last Edit: 9 years 10 months ago by Support.
The topic has been locked.

Prices not showing for Featured Prod on HomePage 9 years 10 months ago #10096

Hi,

Thanks. I have sent you the FTP Credentials via E-mail.

Cheers
/Dodo
The topic has been locked.

Prices not showing for Featured Prod on HomePage 9 years 10 months ago #10110

I just replied your email. Check your inbox.

I am marking this case solved for clearance.

Regards,
Support
The topic has been locked.
Time to create page: 0.201 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