Posts by André Luis • 26 points
6 posts
-
0
votes1
answer107
viewsA: How popular a select
Hello, Deni. Try this in html file: <select name="desmarca" id="desmarca" class="input-text" required="required"> <option disabled="disabled" selected="selected"…
-
1
votes2
answers188
viewsA: Message with a confirmation question before completing the click event
Hello, Thiago. You can use a lib call Bootbox.js, remember that the bootbox works next to the Bootstrap. Example of what the code would look like: bootbox.confirm({ message: "Deseja mesmo realizar…
-
0
votes1
answer91
viewsA: How to insert span HTML elements into React object?
title: <div>Cl<span className="mask">i</span>entes</div> const App = () => { const content = { title: <div>Cl<span…
reactanswered André Luis 26 -
0
votes0
answers101
viewsQ: How to transform a JSON with Jolt?
I have a json which contains categories and subcategories, I would like to transform it using Jolt. Thereof: [ { "id": 1, "name": "Alimentos", "children": [ { "id": 2, "name": "Arroz" }, { "id": 3,…
-
0
votes1
answer73
viewsA: How to change Webhook’s response in Woocommerce?
I was able to solve my problem using the filter *woocommerce_rest_prepare_{$post_type}_object*! That was the solution:…
-
0
votes1
answer73
viewsQ: How to change Webhook’s response in Woocommerce?
I have a problem in Woocommerce REST_API, in case the endpoint response wp-json/wc/v2/Orders, in products(line_items) is not returned metadata(metadata of products). As in the image above, it can be…