meidanm95
Forum Replies Created
-
@webtoffee Hi:)
The link you gave here works like a magic in my orders loop, but I would like to insert a print all button to print all the orders in that specific loop but I can’t get this to work, is there a way I can do it?Forum: Plugins
In reply to: [TI WooCommerce Wishlist] Ajax remove itemThank you!!
Works like a magic ??
maybe you can help me with a small problem I have.
I’m using ‘tinvwl_wishlist_button_clicked’ event to update the shortcode content via ajax and it does not fire on first item added to wishlist, so the shortcode content updates only on second action and above (remove/add to wishlist).
I guess that’s because tinvwl_wishlist_button_clicked is triggered only after first item is added.. is there a way I can handle it?
Thank you again! :]Forum: Plugins
In reply to: [TI WooCommerce Wishlist] Ajax remove itemUPDATE:
I made it, but now I have another problem.
My Problem:
The wishlist counter does not update as well as the hearts in the products loop.1st thing I did was to create an ajax request on the remove button click
so insted of submitting the form it’s now removes the product from wishlist by getting the button’s value( $_POST[“button”] ) to fire this php function:function wishlistAjaxRemove() { $wl = new TInvWL_Wishlist(); $wishlist = $wl->get_by_share_key($wl->get_sharekey()); $wlp = new TInvWL_Product($wishlist); $products = $wlp->get_wishlist(array( 'ID' => $_POST["button"], 'count' => 100, )); $titles = array(); foreach ($products as $product) { if ($wlp->remove_product_from_wl($product['wishlist_id'], $product['product_id'], $product['variation_id'], $product['meta'])) { $titles[] = sprintf(__('“%s”', 'ti-woocommerce-wishlist'), is_callable(array( $product['data'], 'get_name' )) ? $product['data']->get_name() : $product['data']->get_title()); } } return true; wp_reset_postdata(); die(); }
then on success I made another ajax function within the main ajax function to refresh the wishlist shortcode.
function refreshWlShortcode() { echo do_shortcode('[ti_wishlistsview]'); wp_reset_postdata(); die(); }
I guess I need to insert somthing inside refreshWlShortcode() function, I just don’t know what :/
Any help?- This reply was modified 2 years, 11 months ago by meidanm95.
Forum: Plugins
In reply to: [WooCommerce added to cart popup (Ajax)] Popup shows pa_ of varaition@xootix Thank you ?
Forum: Plugins
In reply to: [WooCommerce added to cart popup (Ajax)] Popup shows pa_ of varaitionForum: Plugins
In reply to: [WP Bottom Menu] No ID for bottom menu element@j4cob Mann, I love you!!
Forum: Themes and Templates
In reply to: [OceanWP] How to prevent jump to top after archive add to cartI am facing the same problem..Is there any solution for that?
Forum: Themes and Templates
In reply to: [OceanWP] Mobile menu jumps up on first opening@abhikr781 I Updated my PHP version to 7.4.11 and still facing that problem,
only on mobile.. what can it be?Forum: Themes and Templates
In reply to: [OceanWP] Mobile menu jumps up on first opening@abhikr781 Yes man sure, System_Info
So you say that you didn’t have the problem I described?
Forum: Themes and Templates
In reply to: [OceanWP] Child theme CSS is not working@abhikr781
I’ve tried with/without # and also with/without !important just to check and nothing works.. Now I’ve put the code line you gave me and still doesn’t work, that’s crazy /:Forum: Themes and Templates
In reply to: [OceanWP] Custom font is not working.@abhikr781 Thank you for your answer. I’m pretty sure the problem is in the style.css/functions.php and not how I wrote the font-face code since it’s working on other themes and also I know that my style.css isn’t working, just don’t know why??, I’ve opened a thread for that problem here https://www.ads-software.com/support/topic/child-theme-css-is-not-working/#post-13724592
Forum: Themes and Templates
In reply to: [OceanWP] Child theme CSS is not working@abhikr781
There is my website:
https://baba-phone.com/
And here you can see a screenshot of my Child theme style.css settings:
https://www.turboimagehost.com/p/61609926/CHILD.png.html- This reply was modified 4 years, 3 months ago by meidanm95.
Forum: Themes and Templates
In reply to: [OceanWP] Child theme CSS is not workingHi @abhikr781
My child theme is activated + as I say before my child functions.php work fine..About the css code, first I tried to add a custom font without success, then I tried to add custom font to a different child theme (astra) and it worked.
Then I got back to oceanwp child theme, deleted the font-face code and tried to put a simple css line like:body{ backgroung: green; }
and nothing changed..this made me realize there must be somthing wrong with functions, what do you think?
Forum: Themes and Templates
In reply to: [OceanWP] Custom font is not working.UP
OK so Iv’e noticed that on style css theres an error on src line that says
“@font-face declaration doesn’t follow the fontspring bulletproof syntax”Any help?
@abhikr781 maybe you can help me…I can’t figure it out
- This reply was modified 4 years, 3 months ago by meidanm95.
Forum: Themes and Templates
In reply to: [OceanWP] Custom font is not working.OK so Iv’e noticed that on style css theres an error on src line that says
“@font-face declaration doesn’t follow the fontspring bulletproof syntax”Any help?