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

TOPIC: CleanMart Template and Joonmla 3.7 - Tabs Issue

CleanMart Template and Joonmla 3.7 - Tabs Issue 6 years 10 months ago #15057

Our website was recently updated from 3.6.5 to 3.7 to fix some serious issues we were having.
The thing is I did not realize that we would be breaking other modules/Plugins to fix our existing issues.
I need help please. Everything except the Tabs in the product detail is working.

Look at www.greenlotushemp.com/shop/capsules/capsules-detail and try to click on the Reviews or Shipping Tabs

Can I get somebody to help me fix it ?

Thanks. Look at the bright side of things, if you make it work we can now safely say that the Template works with Joomla 3.7 ;)
I can send admin login and password if needed. Please contact me directly at This email address is being protected from spambots. You need JavaScript enabled to view it.

Cheers and many Thanks.

Adrian Salaices.
The administrator has disabled public write access.

CleanMart Template and Joonmla 3.7 - Tabs Issue 6 years 10 months ago #15059

I am waiting for somebody's reply. Can somebody please help ?
The administrator has disabled public write access.

CleanMart Template and Joonmla 3.7 - Tabs Issue 6 years 10 months ago #15064

Hi,

Your website experiencing a jQuery Conflict problem (typeError) which breaks ALL the jQuery dependent plugins (including the TABs that our template uses)..

As you can see the screen below. The problem is caused by the .chosen() plugin, which is a 3rd party plugin that comes with Virtuemart Core by default. So, your problem is not even related to our template ;) our template is well supported by Joomla3.7

To fix this problem, try this:
Navigate to Virtuemart Backend >> Configuration >> Templates and disable this option:
- Use jQuery chosen for dropdowns in FE


Disabling "chosen" might fix the problem. For better understanding, after disabling the "chosen" check your website with the Chrome Developer Console and see if you are seeing any error message.


Attachment ScreenShot2017-05-22at10.17.17PM.png not found



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.

CleanMart Template and Joonmla 3.7 - Tabs Issue 6 years 10 months ago #15066

I tried that before and I get a different error.

Uncaught TypeError: $(...).vm2front is not a function

Image Attached.

Thanks
Attachments:
The administrator has disabled public write access.

CleanMart Template and Joonmla 3.7 - Tabs Issue 6 years 10 months ago #15068

Honestly i can't be sure what to say. Then there is something wrong even Chrome can't tell what it is.

FYI: I just upgraded the Joomla to 3.7.1 on my localhost and tried CleanMart on it. Didn't notice any problem.

Can you try this?


- Connect your website via FTP and navigate to this file:
/templates/wt_garden_pro/js/dynupdate.js

- Rename this file to dynupdate2.js (bbecause you are going to need this file-- don't delete it)

- Take this JS file:
/components/com_virtuemart/assets/js/dynupdate.js
and upload it to here:/templates/wt_garden_pro/js/dynupdate.js

- Check your Front-end again and tell me what you see in the console TAB.
- If you still the .chosen() error, disable the "chosen" plugin from VM backend and check the website again in case you see the .vm2front() error or not.

FYI: .vm2front() function is defined in the dynupdate.js file.

Regards.
The administrator has disabled public write access.

CleanMart Template and Joonmla 3.7 - Tabs Issue 6 years 10 months ago #15070

I followed your instructions as indicated.
As soon as I changed the .js file (and cleaned caches and stuff) The chosen Error on the console continued, But the unchecking of the chosen option made it go away.
Then I noticed that another error "Uncaught TypeError: Cannot read property 'showActivity' of undefined" and the Item was NOT added to cart.
As soon as I disabled the " Display modal popup upon 'Add to cart' " under VM Checkout Tab, the system started working again.
What did we do with the swapping of the .js file ? Are we now missing some code from the Flexible Template we need to put back somehow ?
I need to now debug the issue with the "Modal Popup", Which I suspect has to do with the "Regular Labs:" Modal code conflicting with some other modal .js

Thanks, We made some progress .. But I am still wondering what we just did with the .js file swap, please advise !

Thanks
The administrator has disabled public write access.

CleanMart Template and Joonmla 3.7 - Tabs Issue 6 years 10 months ago #15071

After All that, when checking out, I get an error: "Uncaught TypeError: $(...).vm2front is not a function
at HTMLDocument.<anonymous> (index.php?option=com_virtuemart&view=opc&controller=opc&task=checkout&nosef=1&virtuemart_product_id…:621)
at i (2361080….js:2)
at Object.fireWith [as resolveWith] (2361080….js:2)
at Function.ready (2361080….js:2)
at HTMLDocument.K (2361080….js:2)" and VM does Not send transaction to PayPal .. Reverting change
Last Edit: 6 years 10 months ago by Jorge Adrian Salaices. Reason: Missed info
The administrator has disabled public write access.

CleanMart Template and Joonmla 3.7 - Tabs Issue 6 years 10 months ago #15072

My VM is totally Non-Functional Now (I suspect it may have been in an unstable state before this, but some sales have come through, so I am not sure how it was working ! Please Help, We are loosing revenue, I am willing to have somebody do a one-on-one debug session !

I am on Joomla 3.7.0, Should I try to go to 3.7.1, or will this make things worse ?

Thanks a Bunch , Your help is much appreciated to get my site back up and running.

Adrian Salaices
The administrator has disabled public write access.

CleanMart Template and Joonmla 3.7 - Tabs Issue 6 years 10 months ago #15073

Good Progress !!!'

I ended upgrading VM to 3.2.2 and Joomla to 3.7.1 for good measure, I needed to do it anyway !

And as soon as I copied the .js file to the template js dir and disabled the .js compression option on the template, things started working.
As it turns out the compression option on the template adds all the .js files onto a huge file and ends up duplicating some resources.
when NOT compressing, the template loads the files one at a time, and jquery easy eliminates conflicting loads.

I am not sure how the dynupdate.js file is being loaded tho .. Cuz I do not see it on the page source.

How is this working ??

Thanks
The administrator has disabled public write access.

CleanMart Template and Joonmla 3.7 - Tabs Issue 6 years 9 months ago #15079

hi,

Most of the time "compression" plugins won't work as expected. They mess up the "load order" of javascript files. Because javascript concept works based on dependency (because one JS file might depend on another, so the "order of loading" is critically important. Functions shouldn't be called before they are defined).. I suppose you were experiencing this dilemma. Some time manually rule for "loading order" is needed; compression plugins usually let you do it. You may also reduce the "compression" level a bit. Don't set it to "maximum"

Anyway, what is the result? I just visited your website and don't see any console error. Everything seems working just fine. So, should i mark this case as "closed" ? Do you need any further help from me?

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