anahitipoint
Forum Replies Created
-
Thank you @mike Jolley very much!
Forum: Plugins
In reply to: [WooCommerce] Internal Server Error when submitting checkout formhey i resolved the issue.
I had some code in my functions.php which was conflicting the main woocommerce code.
Thank you for the answer @vj_007.
Where i can find all country codes for the countries which are not existing in that $states array? I mean how i can add other countries too to that array?
Thanks in advance.
I mean that list can be updated, changed as for now i need to do some research and see which countries have states and which not.
Yes i just commented that lines and it works i guess.
Thanks in advance.
Oh i see.
There are listed counties which don’t have States, right?
Can i just disable this state disappearing functionaity so State will be always visible as it is pointless to find out which country don’t have state?
Also if i will want for future have other countries added to that list which don’t have state where i can find the ABBRs for that countries and add to that list?
Thanks in advance.
Forum: Plugins
In reply to: [WooCommerce] Internal Server Error when submitting checkout formI haven’t changed anything yet in checkout page and when i turned WP Debug i saw this
SyntaxError: Unexpected token < in JSON at position 0 checkout.min.js?ver=2.5.5:1 Unable to fix malformed JSONI was testing how the default form works so i could see if all is working after customisation so please help to figure out.
Thanks in advance.
Even no idea how to avoid issues?
Thanks in advance.
Ok great!
I have one more question please
My website design is unique and how you know i have the checkout in a popup.
I had done the following
Added checkout page link to Checkout button and now wanted to create that same popup with checkout steps there in the Checkout page so i would have all required scripts.
I used jquery detach() for appending the form to the popup overlay where i need but i see that for example some things did not work after detach like when clicking on Paypal button main Place order button text did not changed to Proceed to Paypal.
Any idea what is the best way of wrapping or moving the form within a popup in the way that all functionalities will work?
Thanks in advance.
Ok then when you think you’ll release the new version?
thanks
Ah so no way of using Checkout shortcode with that all functionalities for another page template or in a popup?
Thanks
Forum: Plugins
In reply to: [WooCommerce] Cart is showing empty after adding an item with AJAXi cant reload the page as how i told you i have the cart data in popup.
Or you mean something else by saying reload?
thanks
Forum: Plugins
In reply to: [WooCommerce] Cart is showing empty after adding an item with AJAXok i will use .load fnction but inside the load funvtion what else i need to add?
thanks in advance.
Forum: Plugins
In reply to: [WooCommerce] Cart is showing empty after adding an item with AJAXYes that will be very good as ajax calls are userfriendly as they don’t need to refresh the page!
So you can’t help me with some info about how to update cart with ajax from first please?
Thanks in advance.
Forum: Plugins
In reply to: [WooCommerce] Cart is showing empty after adding an item with AJAXI don’t need the page refresh.
What exactly i need to update so it will be refreshed with Ajax after adding product to cart?
Am using Woo AJAX Cart Plugin but it works only when i already have one product added but when 0 no it did not show the added product.
Thanks in advance.
I wanna add some code after the simple product will be added to cart with ajax. I found /woocommerce/assets/js/frontend/add-to-cart.js
And i added some stuff within this function
$( '.shop_table.cart' ).loadAm i in right way?
thanks