andi_sf
Forum Replies Created
-
Thanks Ilnur – I am looking forward to hearing from you…
Forum: Plugins
In reply to: [Ecwid by Lightspeed Ecommerce Shopping Cart] Customize Product Details pageThanks for the great support!
Hello,
thanks for the detailed reply.
I made the changes as shown but there is no change in the display of the product thumbnails.
My Category tree looks like
[Root]
– [category 1]
– [sub-category 1]I am in [sub-category 1] were the product grid displays in 3 columns – and which I like to change to a 2-column grid layout.
Looking at the code with Chrome Inspector if I change the data-cols parameter in:
<div class=”grid__products grid__products–classic grid__products–layout-center grid__products–small-items grid__products–aspect-ratio-1333″ data-items=”6″ data-cols=”3″ style=”max-width: 10000px;”>
from:
data-cols=”3″
to:
data-cols=”2″the columns change to a 2-column layout as intended so it looks like the data-cols parameter controls the number of columns in the grid.
I could also change to a 2-column display via CSS by setting:
.grid__products .grid-product {
width: 50% !important;
}But I would prefer a programmatical approach via shortcode, etc… since I am not sure if my CSS workaround causes issues with responsive display or pagination down the road.
Any help would be greatly appreciated – thanks in advance!
Hi Ilnur,
thanks for the quick reply – let try to post a dev site for you to take a look in the next few days…
Is there a way I don’t have to post the link publicly?
All the best,
-andreasQuick update:
I found that if I re-write to:
$link.click(function() { if (typeof Ecwid == 'undefined') { return true; }
the javascript error goes away and WordPress dropdown menus function again.
Could the frontend.js be re-written to include this change since I think the call in the current frontend.js:
$link.on('click', function() {
has been deprecated.
If I change the source code of frontend.js myself it will be overwritten with every plugin update which is not a viable option.
Could you update frontend.js accordingly? Please let me know at your earliest convenience since I would like to use your cart system.
Hi Mahdi,
thanks so much for the helpful code hint – you made my day and what a great plug-in support!
All the best,
andi_sfForum: Plugins
In reply to: [Simple Job Board] Order of Jobs in ListingHello,
thanks so much for getting back to me. I found a way of getting the custom sort order on the front-end that is specified in the back-end by installing the plug-in ‘Simple Custom Post Order’ and then adding the ‘sort_column’ parameter in one of the template files that calls the query – this way the query change will not be overwritten by any plug-in updates.
In case I need more customized work I will definitely contact you via your main site.
Thanks again.