Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • sobe Friend
    #202080

    How does one disable the image-zoom-feature in the Joomshopping product page?

    pavit Moderator
    #553026

    Hi

    I think you are referring to the popup view

    You can disable it from template manager > Ja Fixel > General Tab > Extended settings > Popup View

    sobe Friend
    #553040

    Hi Pavit,
    Thanks for helping; however, I’m not referring to that popview. Instead I’m referring to this one:
    http://ja-fixel.demo.joomlart.com/index.php/en/shop/all-categories/product/view/10/31

    You’ll notice that if you move the cursor over the main image a zoom (magnifying glass) image appears above it and if you click it a larger image pops up.

    I would like to remove the popup link, and the zoom (magnifying glass) image.

    pavit Moderator
    #553121

    Hi

    The popup feature is managed by a css lightbox class inside this file componentscom_jshoppingtemplatesfixelproductproduct_default.php

    <span id='list_product_image_middle'>
    <?php if(!count($this->images)){?>
    <img id = "main_image" src = "<?php print $this->image_product_path;?>/<?php print $this->noimage;?>" alt = "<?php print htmlspecialchars($this->product->name);?>" />
    <?php }
    $i = 0;
    foreach($this->images as $k=>$image){
    $cactive = '';
    if($i == 0) $cactive = ' inactive';
    $i++;
    ?>
    <a class="lightbox<?php echo $cactive;?>" id="main_image_full_<?php print $image->image_id?>" href="<?php print $this->image_product_path?>/<?php print $image->image_full;?>">
    <img id = "main_image_<?php print $image->image_id?>" src = "<?php print $this->image_product_path?>/<?php print $image->image_name;?>" alt="<?php print htmlspecialchars($image->_title)?>" title="<?php print htmlspecialchars($image->_title)?>" />
    <div class="text_zoom">
    <img src="<?php print $this->path_to_image?>zoom.png" alt="zoom" />
    </div>
    </a>
    <?php }?>
    </span>

    You should manage to change the <a class=”lightbox .

    sobe Friend
    #553134

    Pavit, quick question:

    I removed the zoom-magnifying-glass image, by removing the following code:
    <div class=”text_zoom”>

    <img src=”<?php print $this->path_to_image?>zoom.png” alt=”zoom” />

    But I notice one can still click on the image and it pops up. What part of the code should I edit to remove the image-popup link?

    pavit Moderator
    #553137

    <blockquote>But I notice one can still click on the image and it pops up. What part of the code should I edit to remove the image-popup link?</blockquote>

    That is the lightbox class you should remove it , but if you remove it you will need to organize again the way images are showed
    because since it will not include the image into a box, after you removed it all images will be showed one by one

    sobe Friend
    #553143

    I did what you suggested and it resulted how you said it would.

    How do I re-organize the images like the way it’s supposed to be?

    pavit Moderator
    #553188

    <em>@sobe 450302 wrote:</em><blockquote>I did what you suggested and it resulted how you said it would.

    How do I re-organize the images like the way it’s supposed to be?</blockquote>

    Hi

    You can try settings for the default template, the file you should check is in this folder componentscom_jshoppingtemplatesdefaultproductproduct_default.php

    It is not a simple cut of code so you should understand that this requires a few customization of php code of these files

    sobe Friend
    #553201

    That’s a bit beyond my capacity for now.

    Would have been nice if the configuration allowed for a simple way to deactivate this zoom-popup feature, which many probably don’t need or want. If not in the configuration, then editing the code should at least be easier.

    I appreciate your help anyhow.

    Adam M Moderator
    #553542

    Hi @sobe,

    To disable this function, you can navigate to Admin >>> Components >>> JoomShopping >>> Configuration >>> Other config >>> uncheck the parameter “Load Lightbox” >>> Save your change and recheck.

    sobe Friend
    #553660

    Hi Adam,
    Thanks for the suggestion. Unfortunately, even with the “Load Lightbox” unchecked the image still has a link to it. The difference is that instead of a pop-up it now goes to another webpage.

    Is there a way to remove the image-link altogether?

    Adam M Moderator
    #554854

    Hi,

    You might want to clear your browser / Joomla! cache then recheck. If you still see the problem, please provide your site url with temporary back-end account via private reply, I will investigate the issue for you.

Viewing 12 posts - 1 through 12 (of 12 total)

This topic contains 12 replies, has 3 voices, and was last updated by  Adam M 10 years ago.

We moved to new unified forum. Please post all new support queries in our New Forum