Forum Replies Created
-
AuthorPosts
-
June 6, 2017 at 8:52 am in reply to: ADDING A QUANTITY FIELD to woocommerce archives pages breaks buttons postion #804392
great! thank you so much!
you can close this thread..I still have some RTL/button position issues
but since it’s another topic i opened a new thread (https://kriesi.at/support/topic/woocommerce-buttons-rtl-issues/)
i hope it’s o.k- This reply was modified 7 years, 5 months ago by Doron.
June 5, 2017 at 8:21 am in reply to: ADDING A QUANTITY FIELD to woocommerce archives pages breaks buttons postion #803782wow! everything works perfectly
you are the best support ever, thank you so much!just one little thing – the ‘more details’ button gone
i’m not sure, is it on purpose?
but if it’s part of the solution than it’s really small price to pay
thank you very much!- This reply was modified 7 years, 5 months ago by Doron.
June 1, 2017 at 11:09 am in reply to: ADDING A QUANTITY FIELD to woocommerce archives pages breaks buttons postion #802471yes i did remove the browser cache.. still not working
I posted the login details in the private contentJune 1, 2017 at 8:14 am in reply to: ADDING A QUANTITY FIELD to woocommerce archives pages breaks buttons postion #802403Hi i’m afraid it’s still not working (page still reloads when pressing ‘add to cart’..)
:-(May 29, 2017 at 8:14 am in reply to: ADDING A QUANTITY FIELD to woocommerce archives pages breaks buttons postion #800961Hi Ismael
the ajax functionality from the previous thread worked for me even before your code modification
it also works after the changes you suggested
the problem is it plays well only in the ‘websitename/shop’ page
if I go to ‘websitename/product-category/category-name’ and try to change quantity to one of the products – it immediately take me into the product page (and doesn’t update the cart)
is that the same on your installation?i have to keep the shop running so for now I reverted to the first code snippet (https://docs.woocommerce.com/document/override-loop-template-and-show-quantities-next-to-add-to-cart-buttons/) which unfortunately reloads the page but work on all pages (not just the shop page)
May 28, 2017 at 8:43 am in reply to: ADDING A QUANTITY FIELD to woocommerce archives pages breaks buttons postion #800740Hi Yigit
thank you for helping me :)1. I added your code and it works great!
2. the code used in the post isn’t working – it causes ‘server 500 error’ massage to appear every time you press the ‘add to cart’ button
so i had to remove it..any chance there is another fix the the page reloading problem?
May 26, 2017 at 3:29 pm in reply to: how to add 2 Javascript code snippets into specific single pages? #800169OMG
thank you so much!I also found that putting
<style type = "text/css">html, body { height: 100% !important; overflow: hidden !important; }</style>
inside a code block in the page builder also do trick
thank you very very much!May 26, 2017 at 11:40 am in reply to: how to add 2 Javascript code snippets into specific single pages? #800089but now i have a overflow problem..
there is a scroll bar and he shouldn’t be there..
I tried addingbody { margin: 0; overflow: hidden; }
and it works but than it effects the whole website and all the other pages..
is there a way to restrict it the the home page only?- This reply was modified 7 years, 6 months ago by Doron.
May 26, 2017 at 11:18 am in reply to: how to add 2 Javascript code snippets into specific single pages? #800080UPDATE! it works!
i tried again and it does work
i thought it wasn’t working because the white background color was overlapping it so i couldn’t see it !
once i turned the background to transparent (usingbackground-color: rgba(0,0,0,0.0)!important;
) it now works just fine
thank you so much!May 26, 2017 at 9:30 am in reply to: how to add 2 Javascript code snippets into specific single pages? #800031yes I did
sketch.min.js and index.js are not short one line code, they are very long
but I tried anyway putting them warped in a <script> tag inside a code element but it didn’t work
i’m not sure whyMay 26, 2017 at 12:20 am in reply to: how to add 2 Javascript code snippets into specific single pages? #799897update:
i also tried:function custom_code(){ if ( is_page( 2599 )) { ?> <script> CODE HERE </script> <?php } } add_action('wp_footer', 'custom_code');
but it didn’t work either
:(May 25, 2017 at 9:44 am in reply to: ADDING A QUANTITY FIELD to woocommerce archives pages breaks buttons postion #799426anyone?
May 23, 2017 at 4:06 pm in reply to: ADDING A QUANTITY FIELD to woocommerce archives pages breaks buttons postion #798344UPDATE:
..ok, i fiddled with the css a little bit and i think i solved the buttons position problem
it’s not perfect but it’s o.k ( an updated screenshot is in the private content)
(..i’m still hoping someone could help me make it look better than it is?)..but more important: ‘add to cart’ still reloads the page any chance the we can fix it?
i really hope so because the other code (in https://kriesi.at/support/topic/add-a-quantity-field-to-woocommerce-products/#post-690610) didn’t reload the page so there must be a way to do it, right?- This reply was modified 7 years, 6 months ago by Doron.
May 23, 2017 at 2:04 pm in reply to: ADDING A QUANTITY FIELD to woocommerce archives pages breaks buttons postion #798277EDIT: I found other code snippet here in the forum in this link: https://kriesi.at/support/topic/add-a-quantity-field-to-woocommerce-products/#post-690610
and it works much better!
it doesn’t break the buttons position and it doesn’t reload the page!
BUT
it plays well only in the ‘websitename/shop’ page
if I go to ‘websitename/product-category/category-name’ and try to change quantity to one of the products – it immediately loads the product page
is there a way to fix it? that would be perfect…for now i reverted to the first code snippet (https://docs.woocommerce.com/document/override-loop-template-and-show-quantities-next-to-add-to-cart-buttons/) which work on all pages (not just the shop page)
BUT
1. more details/add to cart buttons are on on top of the other instead of next to each other (there is a screen shot in the private content)
2. theres is absolutely un necessary cart icon next to the + / – buttons (there is a screen shot in the private content)
3. pressing ‘add to cart’ makes the page reloads (not Ajax any more)No harm done :)
I managed to solve it only thanks to you pointing me to the right Woocommerce settings page
so again – Thank you so much
:)But I just told you that things are now working just like I wanted them
The problem seems to be solved
Are you sure you need Login credentials?Hey Nikko
‘Enable AJAX add to cart buttons on archives’ was already checked
but for some reason the ‘Redirect to the cart page after successful addition’ was also checked so i disabled it!
now when pressing ‘add to cart’ the cart seems to be updating as it should while the shopper stays in the product page – just like I wanted!
thank you very much for your help!works perfectly! thank you so much!
:)my PHP version is already 5.6
https://dl.dropboxusercontent.com/u/12324495/temp/enfold-bug/Screenshot_042217_104005_PM.jpghello Victoria
thank you for your help
I’m not sure why but it still not working (i also tried adding!important;
)
so for now i’ll stay with my workaround
thankswait.. may be I found a workaround
in the text editor I simply warped the text with the code<p style="font-size:13px">....</p>
so far it seems to be working
the only problem is I now need to manually put it in each slide..
for now it’s o.k but I really wish there was a better solutionHi Mike
I tried it but still no effect on the text size
:(Victoria
I think you miss understood me
the enfold ‘team member’ element simply stopped acting in responsive manner but only in the English side of the website (please look in the screen shots again)
it had nothing to do with the text length (they both had long text.. the Hebrew sometimes even longer)
it had everything to do with missing css code (that wasn’t missing in the Hebrew side of the website)#teamnames > div { width: 85%; max-width: 85%; margin: 0 auto; padding-left: 0; padding-right: 0; float: none; } #teamnames > div > div > div > div > div:nth-child(n) { margin: 0; margin-bottom: 20px; width: 100%;
why? why only in the English side of the website this css wasn’t in place?
o.k ..i think i manged to solved by manually adding huge amount of css
..but why is did it happen in the first place?March 30, 2017 at 8:34 am in reply to: enfold show strange code snippet after changing hosting #769336thank you so much!
I’ll give it a try and will let you know if it workedMarch 30, 2017 at 12:32 am in reply to: enfold show strange code snippet after changing hosting #769207if it helps – here is bits of the code (in the Private Content)
- This reply was modified 7 years, 8 months ago by Doron.
March 30, 2017 at 12:11 am in reply to: enfold show strange code snippet after changing hosting #769187yes, beside this glitch it seem to be operating correctly
why?Hi Ismael
problem solved!
thank you so much :)March 1, 2017 at 8:27 am in reply to: adding hr line under the logo (in 'logo centered, menu below' header layout) #753499You can close the topic
Thank you very much for all your help :)February 27, 2017 at 10:02 am in reply to: adding hr line under the logo (in 'logo centered, menu below' header layout) #752214ok! also add
#menu-item-1090 > a { padding-right: 0px!important; padding-left: 13px; }
and now the line is exactly the same as the menu!
thanks!
case solved :) -
AuthorPosts