Forum Replies Created
- AuthorPosts
-
just fixing a couple of other little things i’ve come across while investigating , almost there though
@smaj
please ask your question in the topic you are referring to (i have re-opened it )as this really has nothing to do with the topic herethanks
[previously closed topic reopened by admin]
i cant see the ingredients problem either to be honest, but only you will know what works for you
anyway, let me get on with fixing that shortcode/single issuefor example on your site you have a category “beefburgers” under which you have a hamburger and a cheeseburge
so if you create a category called “beefburgers” and assign your hamburger and a cheeseburge to it
and simply add [wppizza category=”beefburgers”] it displays the same thing …. (i really dont get it, sorry)nope, i still dont get it. why do you assign multiple items to a category if you only want one to be shown anyway
(PS: [wppizza single=’cheeseburger’] is not a valid shortcode)
enter whatever is the appropriate css you need.
i.e something like you already posted abovewidth:303px;height:53px;background:url(‘logo-file.png’) center center no-repeat transparent;
or similar. only you will know (but i also assume you know how css works and how to write it i cannnot provide support for the basics of webdesign like how to write css or html etc)
>what if i update wp-pizza version, will it impact any plugin or settings?
usually no, but it also depends on if (or where) you have made any customisations . if you edited core files for example (which you should never do and is the wrong way of doing things) then you will loose your changes>and where in “WPPizza Templates – Print Order”
please refer to the help screen on that page.(that’s the “help” tab at the top right ) it says it all therethat’s why then
you are trying to use a version 2 filter that does not exist in version 3 (as it’s completely unnecessary)
you should add your css to the relevant template’s css input (i.e in wppizza->templates)>Sorry ignore my last message.
yeah, i thought we might be crossing posts here. no problemnot withstanding the “single” issue here, when you are saying
I just want to be able to show the product with it’s price and be able to add it to the cart (separately). Every Burger with it’s Picture and the price and details (if there is any suggestion or easier way please let me know)
why not simply using your 10 or so different shortcodes on that page ?
[wppizza category=’beef’]
[wppizza category=’cheese’]
[wppizza category=’whatever’] ….(though i realize you would have to add more if you ever add another category)
or if you use
[wppizza category=’!all’] it would do exactly that . i.e “show the product with it’s price and be able to add it to the cart (separately)”still not sure why you want to mess around with lots of “single” shortcodes….(but i am probably missing something)
actually, I just tried to reproduce this here and i – surprisingly I must admit – get the same result (i.e problem)
seems something is not right with that shortcode i need to fix in the next update (hopefully later today)
so bear with me for a bit please(although i still don’t understand why you want to use the single shortcode here – but it’s up to you of course)
>Yes, I have used it with the both ways
no , you misunderstood.
the question is: have you assigned an/the item – in the wppizza *admin* – to a category(i dont even know why you would want to use the single shortcode on that page anyway if you are displaying a list of items in a category in the first place it seems)
have these menu items – where you are using the [wppizza single=’x’] shortcode been assigned to a category ?
i would need a link to the site/url where your single items are
which version of wppizza are you using ?
could you send me a direct email to dev[at]wp-pizza.com please as I would like to ask you for a favour (or more accurately ask for some feedback) before releasing an update of the preorder plugin “into the wild” so to speak
this would be much appreciated, thank you
the thing is, a 502 could be pretty much anything
(https://kinsta.com/blog/502-bad-gateway/)
only the server logs will be able to tell you the issue
and as that script gets accessed and – most likely – throws the 502 before it executed and.or wordpress gets even loaded only the server logs will be able to shed light on thisthat’s assuming it’s not some other plugin that throws this 502 of course (or perhaps some htaccess file settings or whatnot)
if i understand you correctly , this also seems to be a recent issue you end . as the gateway has not changed for months (and does no such thing as setting or not TLS etc etc or any such thing) I would suggest the issue is elsewhere
sure, if it turns out i am wrong (although i cannot see how) i would be happy to stand corrected and fix things if needs be , but without anyone providing proof (or indeed details) to that effect, there’s nothing for me to do here from what i can see
>….double check your plugin configuration and if it’s forced to send the outgoing requests ….bla bla bla
they fundamentally misunderstand what the problem is or how this works. the plugin does NOTHING here.
when worldpay has processed an order it sends notification *directly* to the server script – behind the scenes – to [url]/wp-content/plugins/wppizza-gateway-worldpay/ipn/ipn.php. there is no tls or any other setting involved here that the plugin (could) set
but the server responds with a 502 ….> I am also thinking I may have some plugins that may cause this problem,
of course, if other plugins block things/ip’s whatever than that might well cause an issue accessing that urli can assure you that the wppizza plugin does not block anything – that would be stupid (but some other plugins might, or your hosting company , or a firewall, or your file permissions mess things up etc etc .)
suffice to say your hosting company (or server admin) should be the ones that are able to tell you why it’s a 502. nobody else will as nobody else has access to the server logsworldpay only tells you the symptoms (and from what i can see, they are not at fault here)
they are trying to send info back to your server but the server responds with 502. they will not be able to know anything else .a personal opinion – you could do what you like of course: i would SERIOUSLY reconsider using godaddy and find some – in fact any – other host (just from experience dealing with some different sites hosted on godadday – wppizza related or not)
- AuthorPosts