Thanks so much
]]>When opening the quickview on mobile , all images are shown fullwidth underneath each other, which can create a enormous long scroll to the product info. Somehow it doesn’t just show the main image and then a thumbnail slider. Could you please let me know if you have a fix for this?
]]>The theme I am using (Polestar by purothemes) includes a “quickview” feature for products (that pops up a modal with core info etc. instead of having to open the product page itself. Not that I had intentionally looked for this feature but it is sort of nice…
The problem is: The store itself is supposed to be in another language (Swedish) than the back end (German). No problem – WordPress allows for setting different languages for both; additionally, I installed the Loco Translate plugin for fast and easy on-the-fly translations. All this works like a charm save one specific instance: When the quickview modal pops up, it displays the “add to baskets” button and a dropdown selection menu to choose between 2 different product sizes in German instead of Swedish. This behavior does not occur on the actual product page itself (there, everything in Swedish).
When wondering where this strange behavior might come from, I found out that it has to do with the language set for administration of the backend! Every time I changed this language, the faulty elements in the quickview modal were displayed in that respective language, as well.
This behavior seems to be independent of themes or plugins (installed and tried another theme that has this quickview feature – same result; installed another theme without this feature and used a quickview plugin for WooCommerce instead – same result). Also disabling the Loco Translate plugin yielded no improvement. So the idea seems natural that this is a bug within the WooCommerce plugin itself.
Any idea where this bug is and how to solve it? Any help is much appreciated!
Thank you very much,
Sascha from Germany
]]>I will like to display a short description with a Read more tag so that It takes less space in the quick view pop-up. I have already written a custom code to display read more for a woocommerce product page. The following action is being added with the custom read more function.
add_action( ‘woocommerce_after_single_product’, ‘woocommerce_short_description_truncate_read_more’ );
If I could get information about the action handler for Quick view pop up short description then it might solve the issue with read more tag.
Is there any other way read more tag could be added to pop up short description?
Regards & Thanks
Gaurav Singh
]]>I would like to make 2 changes to the shop page of this store:
Is there any way of doing that inside of Ocean wp?
Thanks,
Gianni
]]>I’m using your plugin and it’s working fine with my theme (Botiga). I’m just wondering if I can manage to make it work also in the quickview modal, where’s not at this time.
I’ve checked the classes and I’m trying to find what I can change to reach the result. I’ll share it below:
<div class="single-product botiga-quick-view-popup opened">
<div class="botiga-quick-view-loader">
<svg xmlns="https://www.w3.org/2000/svg" width="25" height="25" viewBox="0 0 512 512" aria-hidden="true" focusable="false">
<path fill="#FFF" d="M288 39.056v16.659c0 10.804 7.281 20.159 17.686 23.066C383.204 100.434 440 171.518 440 256c0 101.689-82.295 184-184 184-101.689 0-184-82.295-184-184 0-84.47 56.786-155.564 134.312-177.219C216.719 75.874 224 66.517 224 55.712V39.064c0-15.709-14.834-27.153-30.046-23.234C86.603 43.482 7.394 141.206 8.003 257.332c.72 137.052 111.477 246.956 248.531 246.667C393.255 503.711 504 392.788 504 256c0-115.633-79.14-212.779-186.211-240.236C302.678 11.889 288 23.456 288 39.056z"></path>
</svg>
</div>
<div class="botiga-quick-view-popup-content">
<a href="#" class="botiga-quick-view-popup-close-button" title="Close quick view popup">
<i class="ws-svg-icon"><svg width="16" height="16" fill="none" viewBox="0 0 16 16" xmlns="https://www.w3.org/2000/svg"><path d="M2.219.781L.78 2.22 9.562 11l-8.78 8.781 1.437 1.438L11 12.437l8.781 8.782 1.438-1.438L12.437 11l8.782-8.781L19.78.78 11 9.562 2.219.783z"></path></svg></i>
</a>
<div class="botiga-quick-view-popup-content-ajax">
<div id="product-26" class="product type-product post-26 status-publish first outofstock product_cat-teste has-post-thumbnail shipping-taxable purchasable product-type-variable">
<div class="row">
<div class="col-lg-6 gallery-quickview gallery-default">
<div class="woocommerce-product-gallery woocommerce-product-gallery--with-images woocommerce-product-gallery--columns-4 images" data-columns="4" style="opacity: 1; transition: opacity 0.25s ease-in-out 0s;"><a href="#" class="woocommerce-product-gallery__trigger"><img draggable="false" role="img" class="emoji" alt="🔍</img>" src="https://s.w.org/images/core/emoji/14.0.0/svg/1f50d.svg"></a>
<figure class="woocommerce-product-gallery__wrapper">
<div data-thumb="https://ddpromo.com.br/astra/wp-content/uploads/woocommerce-placeholder-800x800.png" data-thumb-alt="" class="woocommerce-product-gallery__image" style="position: relative; overflow: hidden;" data-o_data-thumb="https://ddpromo.com.br/astra/wp-content/uploads/woocommerce-placeholder-100x100.png"><a data-o_><img width="800" height="800" src="https://ddpromo.com.br/astra/wp-content/uploads/woocommerce-placeholder-800x800.png" class="wp-post-image" alt="" decoding="async" loading="lazy" title="woocommerce-placeholder" data-caption="" data-src="https://ddpromo.com.br/astra/wp-content/uploads/woocommerce-placeholder.png" data-large_image="https://ddpromo.com.br/astra/wp-content/uploads/woocommerce-placeholder.png" data-large_image_width="1200" data-large_image_height="1200" srcset="https://ddpromo.com.br/astra/wp-content/uploads/woocommerce-placeholder-800x800.png 800w, https://ddpromo.com.br/astra/wp-content/uploads/woocommerce-placeholder-420x420.png 420w, https://ddpromo.com.br/astra/wp-content/uploads/woocommerce-placeholder-100x100.png 100w, https://ddpromo.com.br/astra/wp-content/uploads/woocommerce-placeholder-300x300.png 300w, https://ddpromo.com.br/astra/wp-content/uploads/woocommerce-placeholder-1024x1024.png 1024w, https://ddpromo.com.br/astra/wp-content/uploads/woocommerce-placeholder-150x150.png 150w, https://ddpromo.com.br/astra/wp-content/uploads/woocommerce-placeholder-768x768.png 768w, https://ddpromo.com.br/astra/wp-content/uploads/woocommerce-placeholder.png 1200w" sizes="(max-width: 800px) 100vw, 800px" data-o_src="https://ddpromo.com.br/astra/wp-content/uploads/woocommerce-placeholder-800x800.png" data-o_height="800" data-o_width="800" data-o_srcset="https://ddpromo.com.br/astra/wp-content/uploads/woocommerce-placeholder-800x800.png 800w, https://ddpromo.com.br/astra/wp-content/uploads/woocommerce-placeholder-420x420.png 420w, https://ddpromo.com.br/astra/wp-content/uploads/woocommerce-placeholder-100x100.png 100w, https://ddpromo.com.br/astra/wp-content/uploads/woocommerce-placeholder-300x300.png 300w, https://ddpromo.com.br/astra/wp-content/uploads/woocommerce-placeholder-1024x1024.png 1024w, https://ddpromo.com.br/astra/wp-content/uploads/woocommerce-placeholder-150x150.png 150w, https://ddpromo.com.br/astra/wp-content/uploads/woocommerce-placeholder-768x768.png 768w, https://ddpromo.com.br/astra/wp-content/uploads/woocommerce-placeholder.png 1200w" data-o_sizes="(max-width: 800px) 100vw, 800px" data-o_title="woocommerce-placeholder" data-o_data-caption="" data-o_alt="" data-o_data-src="https://ddpromo.com.br/astra/wp-content/uploads/woocommerce-placeholder.png" data-o_data-large_image="https://ddpromo.com.br/astra/wp-content/uploads/woocommerce-placeholder.png" data-o_data-large_image_width="1200" data-o_data-large_image_height="1200"></a><img role="presentation" alt="" src="https://ddpromo.com.br/astra/wp-content/uploads/woocommerce-placeholder.png" class="zoomImg" style="position: absolute; top: -355.048px; left: -470.673px; opacity: 0; width: 1200px; height: 1200px; border: none; max-width: none; max-height: none;"></div> </figure>
</div>
</div>
<div class="col-lg-6">
<div class="botiga-quick-view-summary product-gallery-summary">
<h2 class="product_title entry-title">
Teste </h2>
<p class="price">From <span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">R$</span>50.00</bdi></span></p>
<form class="variations_form cart" action="https://ddpromo.com.br/astra/categoria/teste/" method="post" enctype="multipart/form-data" data-product_id="26" data-product_variations="[{"attributes":{"attribute_variacao":"A"},"availability_html":"<p class=\"stock in-stock\">100 em estoque<\/p>\n","backorders_allowed":false,"dimensions":{"length":"","width":"","height":""},"dimensions_html":"N\u00e3o aplic\u00e1vel","display_price":100,"display_regular_price":100,"image":{"title":"woocommerce-placeholder","caption":"","url":"https:\/\/ddpromo.com.br\/astra\/wp-content\/uploads\/woocommerce-placeholder.png","alt":"","src":"https:\/\/ddpromo.com.br\/astra\/wp-content\/uploads\/woocommerce-placeholder-800x800.png","srcset":"https:\/\/ddpromo.com.br\/astra\/wp-content\/uploads\/woocommerce-placeholder-800x800.png 800w, https:\/\/ddpromo.com.br\/astra\/wp-content\/uploads\/woocommerce-placeholder-420x420.png 420w, https:\/\/ddpromo.com.br\/astra\/wp-content\/uploads\/woocommerce-placeholder-100x100.png 100w, https:\/\/ddpromo.com.br\/astra\/wp-content\/uploads\/woocommerce-placeholder-300x300.png 300w, https:\/\/ddpromo.com.br\/astra\/wp-content\/uploads\/woocommerce-placeholder-1024x1024.png 1024w, https:\/\/ddpromo.com.br\/astra\/wp-content\/uploads\/woocommerce-placeholder-150x150.png 150w, https:\/\/ddpromo.com.br\/astra\/wp-content\/uploads\/woocommerce-placeholder-768x768.png 768w, https:\/\/ddpromo.com.br\/astra\/wp-content\/uploads\/woocommerce-placeholder.png 1200w","sizes":"(max-width: 800px) 100vw, 800px","full_src":"https:\/\/ddpromo.com.br\/astra\/wp-content\/uploads\/woocommerce-placeholder.png","full_src_w":1200,"full_src_h":1200,"gallery_thumbnail_src":"https:\/\/ddpromo.com.br\/astra\/wp-content\/uploads\/woocommerce-placeholder-100x100.png","gallery_thumbnail_src_w":100,"gallery_thumbnail_src_h":100,"thumb_src":"https:\/\/ddpromo.com.br\/astra\/wp-content\/uploads\/woocommerce-placeholder-420x420.png","thumb_src_w":420,"thumb_src_h":420,"src_w":800,"src_h":800},"image_id":5,"is_downloadable":false,"is_in_stock":true,"is_purchasable":true,"is_sold_individually":"no","is_virtual":false,"max_qty":100,"min_qty":1,"price_html":"<span class=\"price\"><span class=\"woocommerce-Price-amount amount\"><bdi><span class=\"woocommerce-Price-currencySymbol\">&#82;&#36;<\/span>100.00<\/bdi><\/span><\/span>","sku":"","variation_description":"","variation_id":38,"variation_is_active":true,"variation_is_visible":true,"weight":"","weight_html":"N\u00e3o aplic\u00e1vel","vpd_init_price":"From <span class=\"woocommerce-Price-amount amount\"><bdi><span class=\"woocommerce-Price-currencySymbol\">&#82;&#36;<\/span>50.00<\/bdi><\/span>"},{"attributes":{"attribute_variacao":"B"},"availability_html":"<p class=\"stock in-stock\">1000 em estoque<\/p>\n","backorders_allowed":false,"dimensions":{"length":"","width":"","height":""},"dimensions_html":"N\u00e3o aplic\u00e1vel","display_price":200,"display_regular_price":200,"image":{"title":"woocommerce-placeholder","caption":"","url":"https:\/\/ddpromo.com.br\/astra\/wp-content\/uploads\/woocommerce-placeholder.png","alt":"","src":"https:\/\/ddpromo.com.br\/astra\/wp-content\/uploads\/woocommerce-placeholder-800x800.png","srcset":"https:\/\/ddpromo.com.br\/astra\/wp-content\/uploads\/woocommerce-placeholder-800x800.png 800w, https:\/\/ddpromo.com.br\/astra\/wp-content\/uploads\/woocommerce-placeholder-420x420.png 420w, https:\/\/ddpromo.com.br\/astra\/wp-content\/uploads\/woocommerce-placeholder-100x100.png 100w, https:\/\/ddpromo.com.br\/astra\/wp-content\/uploads\/woocommerce-placeholder-300x300.png 300w, https:\/\/ddpromo.com.br\/astra\/wp-content\/uploads\/woocommerce-placeholder-1024x1024.png 1024w, https:\/\/ddpromo.com.br\/astra\/wp-content\/uploads\/woocommerce-placeholder-150x150.png 150w, https:\/\/ddpromo.com.br\/astra\/wp-content\/uploads\/woocommerce-placeholder-768x768.png 768w, https:\/\/ddpromo.com.br\/astra\/wp-content\/uploads\/woocommerce-placeholder.png 1200w","sizes":"(max-width: 800px) 100vw, 800px","full_src":"https:\/\/ddpromo.com.br\/astra\/wp-content\/uploads\/woocommerce-placeholder.png","full_src_w":1200,"full_src_h":1200,"gallery_thumbnail_src":"https:\/\/ddpromo.com.br\/astra\/wp-content\/uploads\/woocommerce-placeholder-100x100.png","gallery_thumbnail_src_w":100,"gallery_thumbnail_src_h":100,"thumb_src":"https:\/\/ddpromo.com.br\/astra\/wp-content\/uploads\/woocommerce-placeholder-420x420.png","thumb_src_w":420,"thumb_src_h":420,"src_w":800,"src_h":800},"image_id":5,"is_downloadable":false,"is_in_stock":true,"is_purchasable":true,"is_sold_individually":"no","is_virtual":false,"max_qty":1000,"min_qty":1,"price_html":"<span class=\"price\"><span class=\"woocommerce-Price-amount amount\"><bdi><span class=\"woocommerce-Price-currencySymbol\">&#82;&#36;<\/span>200.00<\/bdi><\/span><\/span>","sku":"","variation_description":"","variation_id":39,"variation_is_active":true,"variation_is_visible":true,"weight":"","weight_html":"N\u00e3o aplic\u00e1vel","vpd_init_price":"From <span class=\"woocommerce-Price-amount amount\"><bdi><span class=\"woocommerce-Price-currencySymbol\">&#82;&#36;<\/span>50.00<\/bdi><\/span>"},{"attributes":{"attribute_variacao":"C"},"availability_html":"<p class=\"stock out-of-stock\">Fora de estoque<\/p>\n","backorders_allowed":false,"dimensions":{"length":"","width":"","height":""},"dimensions_html":"N\u00e3o aplic\u00e1vel","display_price":50,"display_regular_price":50,"image":{"title":"woocommerce-placeholder","caption":"","url":"https:\/\/ddpromo.com.br\/astra\/wp-content\/uploads\/woocommerce-placeholder.png","alt":"","src":"https:\/\/ddpromo.com.br\/astra\/wp-content\/uploads\/woocommerce-placeholder-800x800.png","srcset":"https:\/\/ddpromo.com.br\/astra\/wp-content\/uploads\/woocommerce-placeholder-800x800.png 800w, https:\/\/ddpromo.com.br\/astra\/wp-content\/uploads\/woocommerce-placeholder-420x420.png 420w, https:\/\/ddpromo.com.br\/astra\/wp-content\/uploads\/woocommerce-placeholder-100x100.png 100w, https:\/\/ddpromo.com.br\/astra\/wp-content\/uploads\/woocommerce-placeholder-300x300.png 300w, https:\/\/ddpromo.com.br\/astra\/wp-content\/uploads\/woocommerce-placeholder-1024x1024.png 1024w, https:\/\/ddpromo.com.br\/astra\/wp-content\/uploads\/woocommerce-placeholder-150x150.png 150w, https:\/\/ddpromo.com.br\/astra\/wp-content\/uploads\/woocommerce-placeholder-768x768.png 768w, https:\/\/ddpromo.com.br\/astra\/wp-content\/uploads\/woocommerce-placeholder.png 1200w","sizes":"(max-width: 800px) 100vw, 800px","full_src":"https:\/\/ddpromo.com.br\/astra\/wp-content\/uploads\/woocommerce-placeholder.png","full_src_w":1200,"full_src_h":1200,"gallery_thumbnail_src":"https:\/\/ddpromo.com.br\/astra\/wp-content\/uploads\/woocommerce-placeholder-100x100.png","gallery_thumbnail_src_w":100,"gallery_thumbnail_src_h":100,"thumb_src":"https:\/\/ddpromo.com.br\/astra\/wp-content\/uploads\/woocommerce-placeholder-420x420.png","thumb_src_w":420,"thumb_src_h":420,"src_w":800,"src_h":800},"image_id":5,"is_downloadable":false,"is_in_stock":false,"is_purchasable":true,"is_sold_individually":"no","is_virtual":false,"max_qty":"","min_qty":1,"price_html":"<span class=\"price\"><span class=\"woocommerce-Price-amount amount\"><bdi><span class=\"woocommerce-Price-currencySymbol\">&#82;&#36;<\/span>50.00<\/bdi><\/span><\/span>","sku":"","variation_description":"","variation_id":40,"variation_is_active":true,"variation_is_visible":true,"weight":"","weight_html":"N\u00e3o aplic\u00e1vel","vpd_init_price":"From <span class=\"woocommerce-Price-amount amount\"><bdi><span class=\"woocommerce-Price-currencySymbol\">&#82;&#36;<\/span>50.00<\/bdi><\/span>"}]" current-image="5">
<table class="variations has-variation-selected" cellspacing="0">
<tbody>
<tr>
<td class="label"><label for="variacao">Varia??o</label></td>
<td class="value">
<select id="variacao" class="" name="attribute_variacao" data-attribute_name="attribute_variacao" data-show_option_none="yes"><option value="">Escolha uma op??o</option><option value="A" class="attached enabled">A</option><option value="B" class="attached enabled">B</option><option value="C" class="attached enabled">C</option></select> </td>
</tr>
</tbody>
</table><a class="reset_variations" href="#" style="display: inline-block; visibility: visible;">Clear</a>
<div class="single_variation_wrap">
<div class="woocommerce-variation single_variation" style="">
<div class="woocommerce-variation-description"></div>
<div class="woocommerce-variation-price"><span class="price"><span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">R$</span>100.00</bdi></span></span></div>
<div class="woocommerce-variation-availability"><p class="stock in-stock">100 em estoque</p>
</div>
</div>
<div class="woocommerce-variation-add-to-cart variations_button woocommerce-variation-add-to-cart-enabled">
<div class="botiga-single-addtocart-wrapper">
<div class="quantity" data-qty-initialized="true">
<a href="#" class="botiga-quantity-minus show" role="button">-</a> <label class="screen-reader-text" for="quantity_63da9486db4fb">Teste quantidade</label>
<input type="number" id="quantity_63da9486db4fb" class="input-text qty text" name="quantity" value="1" title="Qtd" size="4" min="1" max="100" step="1" placeholder="" inputmode="numeric" autocomplete="off">
<a href="#" class="botiga-quantity-plus show" role="button">+</a></div>
<button type="submit" class="single_add_to_cart_button button alt">Comprar</button>
</div>
<input type="hidden" name="add-to-cart" value="26">
<input type="hidden" name="product_id" value="26">
<input type="hidden" name="variation_id" class="variation_id" value="38">
</div>
</div>
</form>
<hr class="divider"> <div class="product_meta">
<span class="sku_wrapper">SKU: <span class="sku">N/A</span></span>
<span class="posted_in">Category: <a rel="tag">Teste</a></span>
</div>
<div class="html-content"></div><div class="shortcode-content"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
Is there any snippet I can implement to make it work?
Thanks in advance!
]]>They have tried to add a code snippet without results:
function my_text_strings( $translated_text, $text, $domain ) { switch ( $translated_text ) { case 'L?GG I VARUKORG' : $translated_text = __( 'ADD TO CART', 'reebox' ); break; case 'Lager' : $translated_text = __( 'Stock', 'reebox' ); break; } return $translated_text; } add_filter( 'gettext', 'my_text_strings', 20, 3 );
Iv tried to debug using the advanced tab to maybe find the problem which cause my not being able to find or press on the strings to translate
]]>