Forum Replies Created
- AuthorPosts
-
is it possible to suppress the price if it’s 0?
no, sorry (unless you edit the template of course)
is it possible to set more than one tax
if you enter prices without tax, then no, there’s only one tax and anything else would be beyond the scope of the plugin really
having said that, if you are entering prices WITH tax, then you could just display the text as you wish (i.e something like “prices include tax at x% for a / y% for b” or something
Also the shipping should be 8%
at the moment, shipping is set as a price, rather than percent. however, i should probably be able to enable to set this as a percentage too … i will have to think about that for a bit
where in the wppizza-default.css file i change the font selection from h4 to h2
leave that file alone, just override things as needed by using a custom file (i.e wppizza-custom.css )(see faq’s -> http://wordpress.org/plugins/wppizza/faq/ )
you also do not change h4 to h2 as such, but change the way h2’s (or h4’s) are displayed (font sizes etc) by using css …
v4.3.3 of the add ingredients extension has this filter now
(let me know if you need some more info as to how exactly use this)however the additives sorted “only” alphabetically
not strictly true, you can also sort by price as it happens
having said that, the next version I have here (although not yet released), has a filter added (called wppizza_filter_ingredients_custom_sort) you will be able to use in your themes functions.php to sort the ingredients whichever way you like
Hey,
good spot.thanks for that.
I’ll make this (or similar to allow 2.555 for example too) the default in the next updatesteal some time as much as you like 🙂
just “additional” js won’t do as the user – theoretically – could “persuade” the js to accept more than allowed ingredients if he were to edit the hidden elements on the page (although admittedly, he/she would have to spend quite a bit of time and energy to find out how this is exactly put together, but it’s possible)
there is also a server side validation that takes place to check this stuff, so it would have to be put in there too. once you were to do that (i.e hack the plugin), you would not be able to update it anymore without alwasy having to re-apply any changes you may have made
PS RE functional reference : if you look at the js/scripts.source.js there are already lot of comments as to what does what (still won’t be that easy/straightforward). as i said though, that’s only half. serverside validation should be there too
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)
- AuthorPosts