WPPizza – A Restaurant Plugin for WordPress › Support › General Support › Single Menu Item cannot be added to the cart !
- AuthorPosts
- 19 June, 2018 at 12:08 pm #38063
Hi Olly, I hope you are doing fine š
I have a small problem with the shortcodes. I am trying to showcase each item with it’s own id [wppizza single=’11’].
But it is not possible to add it to the cart when I click on it.Everything works fine when I use the category shortcode: [wppizza category= ‘beef’]
Only single items are not being added.I hope you could help me solve this problem š
Best Regards
19 June, 2018 at 12:09 pm #38068i would need a link to the site/url where your single items are
19 June, 2018 at 12:25 pm #38069This reply has been marked as private.19 June, 2018 at 12:32 pm #38070have these menu items – where you are using the [wppizza single=’x’] shortcode been assigned to a category ?
19 June, 2018 at 12:35 pm #38071Yes, I have used it with the both ways:
[wppizza single=’575′ showadditives=’0′]
[wppizza category ‘beef’ single=’575′ showadditives=’0′]19 June, 2018 at 12:39 pm #38072(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)
19 June, 2018 at 12:42 pm #38073>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 category19 June, 2018 at 12:49 pm #38074actually, 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)
19 June, 2018 at 12:51 pm #38075I 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)
And of course, the category has been created “beef” and the items have been assigned to it; while adding a new one, that is why it shows the items when using the -> show category shortcode.
I have used this in Wppizza 2 and it worked fine š
The 2 options that I have seen to be working are:
That I use the shortcode [wppizza category=’!all’ exclude=’6,5,8′], but that would be a lot of work considering that I have over 50 items in each category :/
Or
That I manually Type the name and the Description and add the Button Shortcode
[wppizza type=’add_item_to_cart_button’ id=’6′]Isn’t there any fix for the Single Item? Please help me out or any other way to do it?
Best Regards
19 June, 2018 at 12:53 pm #38076Sorry ignore my last message. I will wait for the update. Thanks a lot š
19 June, 2018 at 1:02 pm #38077>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)
19 June, 2018 at 1:36 pm #38090The thing is for example if I write: [wppizza category=’burgers’]
All the items assigned to the category “Burgers” will appear. Where I only want to show one single item under each burger i.e: [wppizza single=ācheeseburgerā], [wppizza single=ā119ā] etc.
Best Regards
19 June, 2018 at 1:41 pm #38092nope, 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)
19 June, 2018 at 1:43 pm #38093In order to add Extra Ingredients easily to the Items assigned to a category. And not have to do it separately for every item :/
19 June, 2018 at 1:44 pm #38094for 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)19 June, 2018 at 1:47 pm #38095i 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 issue19 June, 2018 at 1:55 pm #38096This reply has been marked as private.20 June, 2018 at 11:26 am #38117Hi Olly, Any update on the matter?
I have stopped using any Categories…but still I am not able to add the item to the cart (until I refresh the page everytime I want to add something to the cart)Best Regards
20 June, 2018 at 11:31 am #38118just fixing a couple of other little things i’ve come across while investigating , almost there though
20 June, 2018 at 6:16 pm #38122v3.6.1 should fix the single=”x” shortcode not working
- AuthorPosts
- The topic ‘Single Menu Item cannot be added to the cart !’ is closed to new replies.