Hello,
a new client bought for his e-shop the xstore theme (lic. in priv. area), after recommending him the Electro01 demo, and he is quite happy with it but we have a few issues with the products on our staging site.
Note, the products are imported from the xml feed that his wholesaler provides and t we have no control over the imported images dimensions and the product title length.
So we encounter following issues:
Issue 1: Same height for all product containers.
I’ve managed to get that sorted out for the shop loop with your solution provided here https://www.8theme.com/topic/same-height-product-boxes/ but couldn’t figure out how to apply the same solutiion to the “Related products” and/or “Cross-Sell-Products”
Issue 2: Huge Images in single product page
e.g https://e-zafirakis.ga/product/tp-link-wireless-n-outdoor-access-point-eap110-outdoor-300mbps-ver-3-0/
Because we have no control over the images that the wholesaler provides, we need to have fixed sizes with proportional resize for the images in the single-product page.
For the shop-loop we’ve managed to do so with following css (not sure if that is the best way to do it though):
.content-product .product-content-image, .content-product .product-content-image img {
height: 200px;
object-fit: scale-down;
}
How can we set the thumbnails and main product image to a fixed sizes on the sp-page?
Issue 3: Uncaught TypeError: etTheme.loadInView is not a function
When using Woocommerce Infinite Scroll and we scroll down, the moment the pagination triggers the following error shows up in the console:
Uncaught TypeError: etTheme.loadInView is not a function
at Object.onfinish ((index):51)
at Object.success ((index):50)
at c (jquery.min.js?ver=3.5.1:2)
at Object.fireWith [as resolveWith] (jquery.min.js?ver=3.5.1:2)
at l (jquery.min.js?ver=3.5.1:2)
at XMLHttpRequest.
Thanks in advance
JT