Jump to content

categorii in descriere produs


mirceabondar

Recommended Posts

asa-i cum zice costy, am mai intalnit problema

sterge codul de mai jos din tema_ta/js/products.js

$(document).ready(function()
{
//init the serialScroll for thumbs
$('#thumbs_list').serialScroll({
items:'li:visible',
prev:'a#view_scroll_left',
next:'a#view_scroll_right',
axis:'x',
offset:0,
start:0,
....
lazy: true,
lock: false,
force:false,
cycle:false
});
$('#thumbs_list').trigger('goto', 1);// SerialScroll Bug on goto 0 ?
$('#thumbs_list').trigger('goto', 0);

Edited by valentin.g (see edit history)
Link to comment
Share on other sites

Multumesc...functioneaza..editez:

 

Daca stertg codul :

 

$(document).ready(function()
{
//init the serialScroll for thumbs
$('#thumbs_list').serialScroll({
items:'li:visible',
prev:'a#view_scroll_left',
next:'a#view_scroll_right',
axis:'x',
offset:0,
start:0,
....
lazy: true,
lock: false,
force:false,
cycle:false
});
$('#thumbs_list').trigger('goto', 1);// SerialScroll Bug on goto 0 ?
$('#thumbs_list').trigger('goto', 0);

 

Imi apare categoria numai ca in descriere produs am si o optiune dropdown in care pretul produsului este modificat in functie de ce este selectat in aceasta lista de optiuni. Daca sterg codul de mai sus pretul nu se mai modifica.

Edited by mirceabondar (see edit history)
Link to comment
Share on other sites

Am scos tot codul asta:

 

$(document).ready(function()
{
//init the serialScroll for thumbs
$('#thumbs_list').serialScroll({
 items:'li:visible',
 prev:'a#view_scroll_left',
 next:'a#view_scroll_right',
 axis:'x',
 offset:0,
 start:0,
 stop:true,
 onBefore:serialScrollFixLock,
 duration:700,
 step: 2,
 lazy: true,
 lock: false,
 force:false,
 cycle:false
});
$('#thumbs_list').trigger('goto', 1);// SerialScroll Bug on goto 0 ?
$('#thumbs_list').trigger('goto', 0);
//hover 'other views' images management
$('#views_block li a').hover(
 function(){displayImage($(this));},
 function(){}
);
//set jqZoom parameters if needed
if (typeof(jqZoomEnabled) != 'undefined' && jqZoomEnabled)
{
 $('img.jqzoom').jqueryzoom({
  xzoom: 200, //zooming div default width(default width value is 200)
  yzoom: 200, //zooming div default width(default height value is 200)
  offset: 21 //zooming div default offset(default offset value is 10)
  //position: "right" //zooming div position(default position value is "right")
 });
}
//add a link on the span 'view full size' and on the big image
$('span#view_full_size, div#image-block img').click(function(){
 $('#views_block li a.shown').click();
});
//catch the click on the "more infos" button at the top of the page
$('div#short_description_block p a.button').click(function(){
 $('#more_info_tab_more_info').click();
 $.scrollTo( '#more_info_tabs', 1200 );
});
// Hide the customization submit button and display some message
$('p#customizedDatas input').click(function() {
 input_save_customized_datas = $('p#customizedDatas').html();
 $('p#customizedDatas input').hide();
 $('#ajax-loader').fadeIn();
 $('p#customizedDatas').append(uploading_in_progress);
});
//init the price in relation of the selected attributes
if (typeof productHasAttributes != 'undefined' && productHasAttributes)
 findCombination(true);
else if (typeof productHasAttributes != 'undefined' && !productHasAttributes)
 refreshProductImages(0);
//
$('a#resetImages').click(function() {
 updateColorSelect(0);
});
$('.thickbox').fancybox({
 'hideOnContentClick': true,
 'transitionIn' : 'elastic',
 'transitionOut' : 'elastic'
});
});

 

Merg toate..pretul se modifica categoriile apar, in schimb nu stiu ce facea codul de mai sus

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...