Bixie Forum

This is the forum for the free Bixie extensions and general questions.
Bixie customers can use the Support Center for their support questions.

You can visit the old forum here.

Video Tutorials

Bixie now provides video tutorials to help you setting up the Bixie VM-Chrono module.

Check out the video tutorials here for a step-by-step installation help!

Welcome, Guest
Please Login or Register.    Lost Password?

RocketTheme: add to cart does not work
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: RocketTheme: add to cart does not work
#211
RocketTheme: add to cart does not work 1 Year, 7 Months ago  
Hello,

Anyone from the development willing to reply my ticket id 133?
It's been 5 days since I posted a support request.

Quoting what is on the ticket:

I installed the component.
I can add photos, but add to cart will not work, only when the module is present. It will work for the rest of the project.
You can have a look by trying this url:

www.tankaphotography.gr/index....p;Itemid=2

This is the error generated (got it with firebug):

formCartAdd is null

www.tankaphotography.gr/compon...amp;subdir[0]=/themes/default&file[0]=theme.js&subdir[1]=/js&file[1]=sleight.js&subdir[2]=/js/mootools&file[2]=mootools-release-1.11.js&subdir[3]=/js/mootools&file[3]=mooPrompt.js&subdir[4]=/js/slimbox/js&file[4]=slimbox.js
Line 64


Thanks in advance.

Spyros
spyrosvl
spyrosvl
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2010/06/20 01:59 By malles.
The administrator has disabled public write access.
 
#235
Re:Rockettheme: add to cart does not work 1 Year, 7 Months ago  
There are a few problems with the combination of VirtueMart/VirtueUpload and most RocketTheme templates.
Most RT templates (except eg Mynxx, which is special for VirtueMart) give terrible javascript errors on Internet Explorer, and disable the gototop function and other Roktools in the template.
I got the solution for this from one of the users:
The IE mootools issue was fixed. Turns out the problem was that mootools was loaded by the RocketTheme and then a second time by VM. Deleting it from administrator\components\com_virtuemart\classes\htmlTools.class.php fixed it.
Code:

line 794 - $vm_mainframe->addScript( $mosConfig_live_site .'/components/'. VM_COMPONENT_NAME .'/js/mootools/'.$version );


This is a great solution for working with VM and RT!

The second problem, is that RT has it's own addtocart scripts for VirtueMart. Since VirtueUpload also attaches a script to the addtocart action, they conflict.
The VirtueUpload scripts only checks if the upload is done. That way the user can be prompted when the upload is required and missing.
To use VirtueUpload in RT templates, the upload-required option should be switched off, and this patch needs to be applied to the modules/mod_virtueupload/mod_virtueupload.php file.
File Attachment:
File Name: mod_addtocartfix.zip
File Size: 2433
malles
malles
Admin
Posts: 206
graph
User Offline Click here to see the profile of this user
Last Edit: 2010/06/20 16:50 By malles.
The administrator has disabled public write access.
Bixie customers can use the Support Center for their support questions.
 
Go to topPage: 1
Moderators: baf