View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005013 | OXID eShop (all versions) | 3.2. HTML, CSS, JavaScript | public | 2013-03-22 00:14 | 2013-03-22 16:11 |
Reporter | [email protected] | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.7.3 / 5.0.3 revision 54408 | ||||
Fixed in Version | 4.8.0_5.1.0_beta1 | ||||
Summary | 0005013: Cloud Zoom doesnt load data-zoomparams into rel attribute when triggered through AJAX | ||||
Description | The Cloud Zoom Plugin doesnt load the parameters given by the data-zoomparams attribute into the rel when the Variant is changed => default Cloudzoom is loaded. Workaround: add [{oxscript add="$('#zoom1').attr( 'rel', $('#zoom1').attr('data-zoomparams'));"}] into /views/page/details/ajax/productmain.tpl /views/page/details/ajax/fullproductinfo.tpl | ||||
Tags | No tags attached. | ||||
Theme | Azure | ||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||
|
Reminder sent to: [email protected] Hello, We checked Your report, but we were unable to reproduce the problem. Could you describe the problem in more detail? |
|
Hello, I was modifing a template and I used the data-zoomparams to change the position and size of the Cloud Zoom Popup. First it worked fine but when I selected a variant, the position of the cloudzoom Image was back at default. I noticed that you put via Javascript everything which is in data-zoomparams into rel (because thats where the cloudzoom plugin gets its options). So you do this by [{oxscript add="$('#zoom1').attr( 'rel', $('#zoom1').attr('data-zoomparams'));"}] (page/details/prodctmain.tpl line 42). But this is missing in page/details/ajax/productmain.tpl and page/details/ajax/fullproductinfo.tpl). Hope I could help |
|
Fixed. Javascript was overlapping. |