I can´t see the badges used for a long time on mystore templ

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Fri Sep 27, 2013 6:02 pm
Reply with quote
Report this post
Hi,

I have been using for a long time a plugin called BIT Virtuemart Product Badges on myStore template, and now, since I´ve change my site to storebox template is not possible to view the badges.
I have contacted with the pluging customer service, they have seen the plugin works fine but the badges does not appear. They tell to me: " The products are detected by the plugin but the badges aren't displayed.
Do you have some extension in use that makes use of AJAX? If there is an AJAX reload this may prevent the
images to appear. From your source code I've seen that there is some changed shopping cart (which seem to have a javascript problem)
"

url: http://www.antonio-romero.com/shop/relo ... ml?start=9
User avatar
Junior Boarder

teitbite
Sat Sep 28, 2013 5:10 pm
Reply with quote
Report this post
Hi

I will try to help You, but You need to tell me exactly what should I be looking for. Where this badges should be visible? Also console is free of errors in the page You have mentioned.
User avatar
Moderator

GK User
Mon Sep 30, 2013 9:30 am
Reply with quote
Report this post
Hi Teitbite,

on that page there are items might to show badges, for instance the item called "Reloj Fortis Colors Maschinist set 3 correas maletin" on the bottom left of the page, it´s a new item. The div class="product_badge" is empty.

There are other pages like http://www.antonio-romero.com/shop/outlet.html where all items might to show budges but the divs appear empty.

Thank you.
User avatar
Junior Boarder

GK User
Mon Sep 30, 2013 12:38 pm
Reply with quote
Report this post
Hi Teitbite,

I´ve activated for a second the templated (mystore) I was using before the storebox template, and the badges work perfectly, so the problem is not on a module or pluging...
User avatar
Junior Boarder

GK User
Tue Oct 01, 2013 11:42 am
Reply with quote
Report this post
I have seen an error reported on console firebug, is it important?

TypeError: vmcartck.offset(...) is undefined
vmcartck.top = vmcartck.offset().top;
User avatar
Junior Boarder

teitbite
Wed Oct 02, 2013 12:39 pm
Reply with quote
Report this post
Hi

This error is not related with badges. Anyway after checking pages You have mentioned I see that a layer for badge is added but there is no additional code for it. Even a css file has only this code:

Code: Select all
.product_badge {
    position: relative;
}
.bit_badge_new {
    position: absolute;
    z-index: 99;
}
.bit_badge_sale {
    position: absolute;
    z-index: 99;
}
.bit_badge_discount {
    position: absolute;
    z-index: 99;
}
.bit_badge_hot {
    position: absolute;
    z-index: 99;
}
.bit_badge_product {
    position: absolute;
    z-index: 99;
}
.bit_badge_category {
    position: absolute;
    z-index: 99;
}


So there is no even links to the images which should be displayed. Also each of this layers has a style display:none, so it looks disabled. If You have a site where I'll be able to compare with than I should be able to figure out what is missing.
User avatar
Moderator

GK User
Fri Oct 04, 2013 11:43 am
Reply with quote
Report this post
Hi teitbite,

and why when I active other template (myStore) the badges appear and all is OK? The code I add to the php is the same in both templates...

Code: Select all
....// Show Products ?>
      <div class="product floatleft<?php echo $Browsecellwidth . $show_vertical_separator ?>">
         <?php $GLOBALS['badges_in_use']=true ?>
         <div style="display:none;" id="<?php echo $product->virtuemart_product_id ?>_bvmpb_com" class="product_badge"></div>
            <div class="spacer">
            <div>....
User avatar
Junior Boarder

teitbite
Fri Oct 04, 2013 12:04 pm
Reply with quote
Report this post
Hi

Because a structure of the HTML is different and script which is adding badges cannot find right code to place them, that's why I need a working version to compare what is different.

Please make just one small test and rename: /html/com_virtuemart/ to /html/_com_virtuemart/ and let me know if it worked than revert it back and please send me an access to joomla panel so I'll turn templates myself and will be able to compare them.
User avatar
Moderator

GK User
Fri Oct 04, 2013 5:46 pm
Reply with quote
Report this post
teitbite wrote:Hi

Because a structure of the HTML is different and script which is adding badges cannot find right code to place them, that's why I need a working version to compare what is different.

Please make just one small test and rename: /html/com_virtuemart/ to /html/_com_virtuemart/ and let me know if it worked than revert it back and please send me an access to joomla panel so I'll turn templates myself and will be able to compare them.


Ok I´ve sent to you a PM
User avatar
Junior Boarder

teitbite
Sun Oct 06, 2013 2:16 pm
Reply with quote
Report this post
Hi

I got an access, but when I go to where admin panel should be (http://www.antonio-romero.com/administrator/) I can only see: "Forbidden

You don't have permission to access /administrator/ on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."

Can You please unlock it for me ? Do You need my IP ? 89.77.40.176
User avatar
Moderator

GK User
Mon Oct 07, 2013 10:01 am
Reply with quote
Report this post
Hi teitbite,

all is solved. I´ve found a pluging that was the problem. It was not a problem with the other template but with storebox was a great headache. Thanks a lot.
User avatar
Junior Boarder

teitbite
Tue Oct 08, 2013 10:39 pm
Reply with quote
Report this post
Hi

Ok. Can You please tell us what the problem was, so we can fix it ?
User avatar
Moderator

GK User
Thu Oct 10, 2013 12:59 pm
Reply with quote
Report this post
Hi teitbite,

I don´t know what was the problem but trying to solve other post of this board (an error appear on firebug console about the cart), I remembered a pluging I have been using for a long time and working perfectly called "Virtuemart Add to cart effect CK" but I notice it does not work with this template. When I put it inactive all the problems dessappear. That pulging move the item picture to the cart when the user press the add to cart button.

Thanks for all.
User avatar
Junior Boarder

teitbite
Sat Oct 12, 2013 12:44 am
Reply with quote
Report this post
Hi

Ok. That explains a lot :) Sorry I could not help a little faster :(
User avatar
Moderator


cron