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

TOPIC: Several issues

Several issues 9 years 2 months ago #11774

Hi there!

I have installed the CleanMart theme and I am facing some issues.

Working on Joomla 3.3.6 and V; 3.0.2

- The settings for the displayed number of products has no effect. Always 10 products are displayed no matter which setting.
- When using the product browsing (next - prev) on products detailed page, the social buttons dissapear after next or prev product is loaded and zoom is not working. Have to press F5 to get it again.
- When writing a review the amount of stars always stay on 5 and can't be adjusted. I mean good for the ratings - but not as expected ;)

link

Something wrong with the configuration?

Thank you in advance!
Last Edit: 9 years 2 months ago by Rena.
The administrator has disabled public write access.

Several issues 9 years 2 months ago #11794

Hi,

Problem 1: Always 10 products are displayed no matter which setting
I suppose you are talking about "products per page on category page". If so; to change the "product per page" number;
- Navigate to VM Configuration >> Template;
- Apply these settings below (this settings are an example for "15 products per page on category page" -- you can play around with the numbers)

Attachment ScreenShot2015-01-24at5.40.07PM.png not found



Problem 2: When using the product browsing (next - prev) on products detailed page, things get broken
It was our fault. We forgot to include dynUpdate JS file to new CleanMart version. Download this JS file from our live demo: demo.flexiblewebdesign.com/cleanmart/templates/gantry/js/dynupdate.js

Then upload this JS file to your website to this path:
ROOT///templates/YOUR_TEMPLATE/js/dynupdate.js

FYI: MAKE SURE the file name is exactly the same, the folder path is exactly the same. (if there is no /js/ folder under your template folder, then manually create it)

Then, this dynupdate.js will start being loaded to your website, and everything will start working just...

Problem 3: When writing a review the amount of stars always stay on 5 and can't be adjusted
This problem is not related to our template. Looks like the necessary JS declaration to run the star changing (upon mouse-movements) is not being loaded on your website.

Open this PHP file:
components ▸ com_virtuemart ▸ views ▸ productdetails ▸ tmpl ▸ default_reviews.php

FYI: the JS declaration that needs to be loaded on the product details page (to run the star-changing), is this:

Attachment ScreenShot2015-01-24at5.50.43PM.png not found



Find this line:
vmJsApi::addJScript( 'rating_stars', $reviewJavascript );

and replace it with this:
$doc =& JFactory::getDocument();
$doc->addScriptDeclaration($reviewJavascript);

So you will be using the official Joomla API oppose to Virtuemart's API to add the JS declaration between <head></head>. But honestly i don't know why the Virtuemart's JS API doesn't work on your website though. Weird.

This last edit requires "core edit", thus everytime you update the Virtuemart component, you need to repeat this modification.

By the way, i like your website; it looks really cool. YooTheme's joomla templates are always rock! ;)

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

Write couple of sentences to share your experience with the support team.
Just 2-3 sentences would be enough ;) It might sound simple to you, but it is extremely important. Potential customers care about product reviews very much.

Thanks in advance!


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

Several issues 9 years 2 months ago #11799

Hi!

Thank you for your support!

Yeah the Yoo templates are really cool :)

to Issue 1:
I know this settings but somehow no setting has an effect. I have played around with differen configurations. Shall i send you the admin credentials?

to issue 2:
I have placed the script. Zoom is working now after browse, but the social buttons do still non load after browse.

to issue 3
when CleanMart template is not active (just renamed the +_virtuemart folders) the stars can be adjusted. So my assumtion was it is an issue with CleanMart template

Cheers!
The administrator has disabled public write access.

Several issues 9 years 2 months ago #11823

Hi,

1- Listing how many products in the category page is controlled by Virtuemart Core. But apparently a 3rd plugin (pagination plugin) is overwriting the settings somehow. This is all I can think of. But i must say; this setting has absolutely nothing to do with our template. You can try the same thing as you did with bullet#3 (deactivate the CleanMart) the result most likely be the same. Navigate the Joomla Plugin manager and check for any 3rd party pagination plugins, if you find any; unpublished the plugin, and try again. Also try looking at forum.virtuemart.net. Since this problem is not related to CleanMart, i can't help you any further about it.

2- It is interesting because the new dynupdate.js includes the line to re-initialize the social media icons, which is this:
addthis.toolbox(".addthis_toolbox");
this should have reloaded the icons upon completing the AJAX loading.

3- I am going to fix it, no worry.

Please create me;
- joomla (super) administrator account,
- FTP account


and send them to This email address is being protected from spambots. You need JavaScript enabled to view it.. Let me try to resolve your #2 and #3 problems. If i modify any PHP or JS files; 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 (or in the Subject field) as reference to avoid possible confusion in our end.

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

Several issues 9 years 2 months ago #11858

Hi,

I fixed the 2nd and 3rd problem.

2nd problem: i comment out the reinitialize code for Facebook like box (because you are not using it and it was causing not-defined problem)

3rd problem: I followed the same method that you have been provided in this topic.

for the 1st problem; as i have told you before, it is not related to our template. You should find what causing this pagination limitation. Regardless of what is being defined in the backend, your website remains showing 10 items per page.

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

Write couple of sentences to share your experience with the support team.
Just 2-3 sentences would be enough ;) It might sound simple to you, but it is extremely important. Potential customers care about product reviews very much.

Thanks in advance!

Regards,
Support
The administrator has disabled public write access.

Several issues 9 years 2 months ago #11947

Hi!

Thank you! I guess you missed my last email.

The social buttons stay now when browsing but the link is not updated to the current product. The link remains always the same from the initial product when starting browsing over prev/next.

Seems to be a difficult case…

Cheers
The administrator has disabled public write access.

Several issues 9 years 2 months ago #11985

Hi,

It is not a difficult case, it is an impossible case. There is no logical way to fix it with the current AddThis functionality.

Because actually the page never gets changes, only the DIV element (.product-deatils) is being updated and filled with new information. The URL is changing with PushState, which is only to run the browser bookmark and page manual page refresh. The META Tags, Page title etc.. never gets changed. Otherwise it wouldn't be called AJAX Loading.

The only solution is to disable the AJAX loading, and you can do it through Flexible VM2 Template plugin.

regards.
The administrator has disabled public write access.
Time to create page: 0.164 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