leomarioto
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce Stripe Payment Gateway] Fillable fields do not appearHi Rajesh!
With a standard theme worked on. It’s actually something from my custom coded checkout page.
Any way to find out what it could be?
Thanks!
Forum: Plugins
In reply to: [Asaas Gateway for WooCommerce] Sugestão: limitar parcelamento por produtoPois é, @denisgomesfranco, achei que seria muito mais difícil editar o código do plugin, manutenção futuras, etc.
Enquanto os devs dos plugins não criam essa personalização, vamos inventando as nossas saídas ; D
Forum: Plugins
In reply to: [Asaas Gateway for WooCommerce] Sugestão: limitar parcelamento por produto@mundoagranel , eu também estava procurando uma solução para isso. Tentei de várias formas, inclusive alterando código dentro do plugin, porém sem sucesso.
Consegui encontrar uma solução alternativa para o problema com o código abaixo. Porém, servirá somente se você quiser que determinado produto seja pago somente em 1x. Também precisará ver a questão da manutenção, caso você tenha muitos produtos.
function hide_checkout_field() {
// função para verificar se o produto que não deve haver parcelamento está no carrinho
function check_product_in_cart() {
// adicionar IDs dos produtos não parceláveis
$product_ids = array( ‘ID1’, ‘ID2’, ‘ID3’ );
foreach ( WC()->cart->get_cart() as $cart_item ) {
if ( in_array( $cart_item[‘product_id’], $product_ids ) ) {
return true;
}
}
return false;
}
// verificar se a página é de checkout e se o ID do produto está no carrinho
if ( !is_checkout() || !check_product_in_cart() ) {
return;
}
// se sim, oculta a opção de parcelamento
?>
<script type=”text/javascript”>
jQuery(document).ready(function() {
var hideDiv = setInterval(function() {
// ocultando do front-end a div que contém as opções de parcelamento
var targetDiv = jQuery(‘div#asaas-cc-installments_field.form-row.asaas_field_cc’);
if (targetDiv.length) {
targetDiv.css(‘display’,’none’);
}
}, 100);
setTimeout(function() { clearInterval(hideDiv); }, 10000);
});
</script>
<?php
}
add_action( ‘wp_footer’, ‘hide_checkout_field’ );
Esse código está verificando quais produtos você NÃO deseja que apareça a opção de parcelamento e, ao carregar a página, o elemento “div#asaas-cc-installments_field.form-row.asaas_field_cc” é ocultado.
Em teoria, o parcelamento ainda seria possível, mas o usuário não conseguirá fazê-lo, pois o elemento div está oculto para ele na página. Esse código deve ser adicionado no WordPress, por exemplo, por meio do plugin Code Snippets. Ou, no arquivo functions.php, mas que não é recomendável.
So, I don’t know if I managed to make myself understood…
For example, in the image below I chose “Scales, 1:18” through the horizontal menu and notice that there are 2 other options available “1:24 and 1:43”. However, in the left side filter these other options are not being shown:

On the other hand, also according to the image below, when I choose the “Brands” menu, the “Scales” filter on the left side appears as an option (they are there below the print), but the “Brands” filter does not. And there are several “Brands” for the user to choose from. Note that the “Brands” filter will appear in the previous image (down there too, but it appears):

I achieved.
wapf-checkboxes {
display: flex;
}Thanks.
- This reply was modified 3 years, 3 months ago by leomarioto.
Forum: Plugins
In reply to: [WooCommerce] Add information about installment priceWell, but how do I do that?
Forum: Plugins
In reply to: [PDF.js Viewer] 403 Forbidden HELP!!!Thanks, John!
I tried this one too, but I think there was a conflict with Elementor or Chrome Mobile.
Forum: Plugins
In reply to: [PDF.js Viewer] 403 Forbidden HELP!!!I ended up giving up using PDFs and moved on to another strategy.
Thanks!
Can anyone give a light?
Another thing I want to highlight …
When I access the WordPress control panel and edit the files page, they mysteriously appear in the correct order!
Only when I open without being logged in to the control panel, do they stay in that order of data in which they were updated, and not postage.
See the image! IMAGE
- This reply was modified 5 years, 6 months ago by leomarioto.
I’m using Elementor’s own Archive Posts widget.
It’s Elementor Pro with the Hello Elementor theme.
Something I would like to highlight …
There are two types of files on your site: categories and authors.
The specific of authors, the posts are being organized in the correct way: https://dehumanas.com.br/author/daieli-duarte/As for the categories, they are organized as I have updated them at some point: https://dehumanas.com.br/administracao/
Forum: Plugins
In reply to: [WP Popular Posts] publications do not show posts when adding the WidgetIt worked very well !!!
Thank you!!!
Forum: Plugins
In reply to: [WP Popular Posts] publications do not show posts when adding the WidgetHector, I ended up managing to add the shortcode and change it!
I just couldn’t get the excerpt to appear (not the number of views, but that little paragraph in each post)
If you can tell me the command in the short code …
Thank you!
Hello! Apparently, the problem is solved!
Thank you!
Friend, please help me…
I am facing a new problem now … When I disabled Ninja to test the cache, my blog pages lost the mobile configuration made in elementor. When I disable the plugin and open my website on mobile, it opens as if it were on the desktop. That is, now the mobile version of the site only works if the Ninja plugin is activated…
As for the cache issue, the site is presenting the problem of not updating even with the Ninja disabled!
I am concerned about the situation!