Forum Replies Created
- AuthorPosts
-
can you send me a screenshot as to what you mean to dev[at]wp-pizza.com (i.e where it shows 2% instead of 2.5)
thanks
not sure I 100% understand, but
isn’t that what “access rights does ” ?i had a bit of a look around. as i believe you are using wpml 2.9 this is/was a bug there
(see http://wpml.org/2013/07/wpml-2-9-1-bugfix-release/)
I would think – although not tested – that updating wpml is actually the right way to solve this, not editing the wpizza plugin….
(in which case you can probably save yourself adding that “remove_action” code i talked about earlier toohmm,
I have tried with your theme, WPML and some of the plugins that i can see in your page and cannot reproduce the issue.So , as you have edited the plugin directly you would not be able to update wppizza in the future without having to re-apply your edit.
Therefore, the next update will enable you to do this via your themes function file (this will probably come in handy in other scenarios too, so I’m happy to make this possible).
I.e add this to your functions.php (but leave the edit you have made)
remove_action( 'wppizza_loop_template_end', array( WPPIZZA_ACTIONS::this() , 'wppizza_reset_loop_query' ));
you can add this now, as it will not do anything until the next update.
once you update the wppizza plugin this line will automatically kick in, whilst your edit you made earlier when commenting out the line i referred to earlier will be reversed (as the plugin will be overwritten when you apply the next updateit’s a much better solution than editing the plugin directly
not at the moment, but – when i get round to it – i plan to do a coupon plugin of some sort that would allow this (amongst other things)
no ETA yet though I’m afraid
Hi
i believe i understand what you mean
at the moment there’s only the option of “Minimum total sum of all ingredients that have to be selected”
essentially what you would need is
Maximum total sum of all ingredients that can be selected
I’ll put it on my list of things to do , but cannot promise any ETA yet
on second thoughts, would you be able to (and test) the following INSTEAD (as that would really be a better way to do things, but I would need to know if this works in your scenario too)
same file, but approx line 989 you should find the following:
public function wppizza_include_shortcode_template($type,$atts=null){
/***************************************
[include category loop template]
***************************************/
if($type=='category'){
could you replace this with
public function wppizza_include_shortcode_template($type,$atts=null){
/***************************************
[include category loop template]
***************************************/
if($type=='category'){
wp_reset_query();
i.e add wp_reset_query()
INSTEAD of commenting out the action earlier ?
if this works too, it would really be a better thing to do. I would be very grateful if you could test this too/instead so I can make sure the next update will not cause the same problem in your case again
thanks
ok, thanks for reporting back, will have to integrate something in the next update that takes care of this when using WPML
that code is/was really only there to deal with some themes that appear to be misbehaving somehow
Hi ,
tested it here (albeit with WP3.8, as the version of WPML I have – 3.0.2-a – does not wok at all with WP3.9 and my download to the latest WPML version has expired)
and it’works fine….question though, how many languages do you have enabled ? i.e if the products show 2x do you have 2 languages enabled ?
do they show 3 times if you were to enable 3 languages , so is this correlated ?
one quick thing to try (and report back please):
in wppizza/classes/wppizza.actions.inc.php you find – on approx line 67 – the following code:
add_action('wppizza_loop_outside_end', array( $this, 'wppizza_reset_loop_query'));
what happens when you comment out that line (so it reads like this ?
//add_action('wppizza_loop_outside_end', array( $this, 'wppizza_reset_loop_query'));
(assuming that you are a little bit comfortable with editing php files)
Hi
possible, yes, very easy, no.
essentially , you should probably use the following filter (wppizza_cart_item – have a look in the wppizza-cart.php template where it is) and output something (div or whatever) in front of that li element (in the filter you would be able to access the id of that item and select an image accordingly) and then play with the css to align it
hope that helps
PS: the next version – hopefully out in a few days – will also – amongst a bunch of other things – have an id on the li element you could use somehow (will be something like id=’wppizza-cart-item-4.2′ where 4 would be the menu item id and 2 is the selected size)
the way to do that i would have thought is as follows.
set an additive (i.e Vegi for example) , tick the now available “vegi” additive in the appropriate menu item and add some css image to the relevant elemnt ie
wppizza-loop-additive-x{/your image/}
‘x’ being the additive iddoes that help
PS currently the additives in the loop are id’s – which is wrong, they should be classes – I will fix that in the next update
in theory you can do that, however , as there would be carrier costs involved, there is no generic way to implement something that does that (as – depending on where you are – prices and options will differ)
having said that , there are a lot of email 2 sms providers out there you can choose from which should easily allow you to set this up (which one works for you is something for you to decide though as it would depend on your location etc)
furthermore, IF you were to do that you should consider the following.
SMS has a character limit per message, so if you have a large order and want to send the whole order as sms to the customer, it will be a multi-part message (with multiple message charges to you !!)secondly, in todays world of smartphones , more and more people will have email on their phone anyway…..(not everyone of course)
Either way, just my 2 cents really
not by distance (as in km for example) as such
However, the “delivery by post/zipcode” plugin does exactly that depending on zip/postcodes
PS: the post/zipcodes can arbitrarily defined , so you can also set designated delivery areas instead of an actual zip/postcode
not really do-able (at the moment anyway) as the same email gets sent to shop AND customer
you would also have the – possible – issue, that your translation might be different and even have different prices !! so you would/could end up with 2 different orders (i know, not the most likely scenario, but still a possible situation that could lead to almighty confusions)
just add the textbox option to the ingredients thing , no ?
Hi,
i answered you directly too but posting it here as well for others just in case…in theory, you could do this with some javascript and css.
However, I would think it’s better if I just add some classes to the ingredients and then you can do this by just using css.
I’ll update the plugin in the next couple of days to add those classes and then you can add css as required.(i assume this is what you meant ?!)
Olly
just enable wppizza->layout-> Enable increase/decrease of items in cart via input field/textbox
ok.
in that case , just disable “anyone can register” in the wordpress general settings which will automatically not display the login option (make sure you have a recent/latest version of the wppizza plugin as this was originally not the case)generally speaking. sure.
however , may i ask you why you want to do this (as there are several ways to do that) ? - AuthorPosts