-
AuthorPosts
-
hjalte1983 Friend
hjalte1983
- Join date:
- September 2012
- Posts:
- 328
- Downloads:
- 7
- Uploads:
- 105
- Thanks:
- 101
- Thanked:
- 9 times in 1 posts
July 7, 2014 at 1:29 pm #199482Hi.
So i decided to remove wishlist and compare from my site, but i’m having a problem with the list/grid view buttons now.
I removed them in vQmod Manager
and modified category.tpl and product.tpl
/components/com_mijoshop/opencart/catalog/view/theme/decor/template/product/i removed line 39
<div class=”product-compare”><a href=”<?php echo $compare; ?>” id=”compare-total”><?php echo $text_compare; ?></a></div>and it somehow bugged the filter.
Can you help me out?
and also if i hover the product i still got the 3 icons, how can i remove those and just have all the image clickable.
Regards.
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
July 8, 2014 at 7:20 am #541489Please rollback the php code changes in all files and apply my solution to fix both the problems
+ Create templates/ja_decor/css/custom.css file and add new rule
.product-compare {
display: none !important;
}.ja-product-grid .product-item:hover .actions {
display: none !important;
}1 user says Thank You to Ninja Lead for this useful post
hjalte1983 Friendhjalte1983
- Join date:
- September 2012
- Posts:
- 328
- Downloads:
- 7
- Uploads:
- 105
- Thanks:
- 101
- Thanked:
- 9 times in 1 posts
July 8, 2014 at 10:33 am #541530hjalte1983 Friendhjalte1983
- Join date:
- September 2012
- Posts:
- 328
- Downloads:
- 7
- Uploads:
- 105
- Thanks:
- 101
- Thanked:
- 9 times in 1 posts
July 8, 2014 at 11:20 am #541539Hey @ninja Lead i rolled back the category.tpl and product.tpl
and added your code.But it only fix some of it.
please see the site.
added screenshots:
- Ninja Lead Moderator
Ninja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
July 9, 2014 at 3:53 am #541646Please try to find my answers with all your requests below and hope it helps you out
Open templates/ja_decor/css/custom.css file
Change
.ja-product-grid .product-item:hover .actions {
display: none !important;
}
To
.product-grid .actions .wishlist, .ja-product-grid .actions .wishlist {
display: none !important;
}.product-grid .actions .compare, .ja-product-grid .actions .compare {
display: none !important;
}.product-list .wishlist, .product-list .compare {
display: none !important;
}.product-list > div.col-xs-12 .desc {
padding: 0 30px 0 0px;
}.category-info {
margin-bottom: 30px;
}
1 user says Thank You to Ninja Lead for this useful post
hjalte1983 Friendhjalte1983
- Join date:
- September 2012
- Posts:
- 328
- Downloads:
- 7
- Uploads:
- 105
- Thanks:
- 101
- Thanked:
- 9 times in 1 posts
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
July 9, 2014 at 7:21 pm #541771<em>@hjalte1983 435964 wrote:</em><blockquote>Thank you very much @Ninja Lead . There is just the cart left, how can i remove the icon and just make all of the image clickable
</blockquote>Which icon are you wanting to remove?
hjalte1983 Friendhjalte1983
- Join date:
- September 2012
- Posts:
- 328
- Downloads:
- 7
- Uploads:
- 105
- Thanks:
- 101
- Thanked:
- 9 times in 1 posts
July 9, 2014 at 7:31 pm #541772the cart icon, so its just a clean image that get shadowed and able to click everywhere on the image
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
July 10, 2014 at 4:00 am #541800<em>@hjalte1983 435964 wrote:</em><blockquote>Thank you very much @ninja Lead . There is just the cart left, how can i remove the icon and just make all of the image clickable
Thank you again for such a great support.
Regards.</blockquote>
Refer to code customization below and it should help you to achieve it
Open templates/ja_decor/css/custom.css file
Change
.product-grid .actions .wishlist, .ja-product-grid .actions .wishlist{
display: none !important;
}
To
.product-grid .actions .wishlist, .ja-product-grid .actions .wishlist, .ja-product-grid .actions .cart {
display: none !important;
}.ja-product-grid .product-item .image:before {
content: initial !important;
}1 user says Thank You to Ninja Lead for this useful post
hjalte1983 Friendhjalte1983
- Join date:
- September 2012
- Posts:
- 328
- Downloads:
- 7
- Uploads:
- 105
- Thanks:
- 101
- Thanked:
- 9 times in 1 posts
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
July 11, 2014 at 2:20 am #541937<em>@hjalte1983 436155 wrote:</em><blockquote>Thank you @ninja Lead , but I can’t click the image.</blockquote>
I just quickly checked directly on your site and see it’s working fine with click the image, please have a look at my screenshot
-
hjalte1983 Friend
hjalte1983
- Join date:
- September 2012
- Posts:
- 328
- Downloads:
- 7
- Uploads:
- 105
- Thanks:
- 101
- Thanked:
- 9 times in 1 posts
hjalte1983 Friendhjalte1983
- Join date:
- September 2012
- Posts:
- 328
- Downloads:
- 7
- Uploads:
- 105
- Thanks:
- 101
- Thanked:
- 9 times in 1 posts
July 13, 2014 at 2:24 pm #542141<em>@hjalte1983 435674 wrote:</em><blockquote>Also where can i change this padding to 0, so the bar have the same margin as the category list.
</blockquote>
This does not work on my brands menus ?
see image
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
July 14, 2014 at 5:16 am #542195<em>@hjalte1983 436409 wrote:</em><blockquote>ah yes i see now it works, with the shadow is gone,
Thanks
@ninja Lead I just noticed the add to wishlist and compare icons is back ??</blockquote>If you want wishlist and compare icons back on your site, you have to change like below
Open templates/ja_decor/css/custom.css file, find and remove scripts
.product-compare {
display: none !important;
}.product-grid .actions .wishlist, .ja-product-grid .actions .wishlist {
display: none !important;
}.product-grid .actions .compare, .ja-product-grid .actions .compare {
display: none !important;
}.product-list .wishlist, .product-list .compare {
display: none !important;
}
<em>@hjalte1983 436444 wrote:</em><blockquote>This does not work on my brands menus ?
see image
</blockquote>Open templates/ja_decor/css/custom.css file
Change
.category-info {
margin-bottom: 30px;
}
To
.product-filter {
margin-top:0px;
}div.category-info {
display: none !important;
}
hjalte1983 Friendhjalte1983
- Join date:
- September 2012
- Posts:
- 328
- Downloads:
- 7
- Uploads:
- 105
- Thanks:
- 101
- Thanked:
- 9 times in 1 posts
AuthorPostsThis topic contains 19 replies, has 3 voices, and was last updated by hjalte1983 10 years, 3 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum