Forum Replies Created
-
AuthorPosts
-
sazzybeeParticipant
Thanks! A good workaround 🙂
sazzybeeParticipantIt was just the enable stock management in Woocommerce had been deselected – in case anyone has the same issue
sazzybeeParticipantSame problem with the normal troubleshooting steps
November 6, 2013 at 10:13 pm in reply to: I want the ticket prices to show up on the upcoming events list page #75095sazzybeeParticipantThanks Kelly – I’m a total noob but got my head around it, I have a child theme installed, but I didn’t realise you could go wild and create another function.php file within that 🙂
November 6, 2013 at 11:24 am in reply to: I want the ticket prices to show up on the upcoming events list page #74982sazzybeeParticipantHi Kelly,
I followed the instructions you gave: “For getting the cost from your tickets created in WooCommerce Tickets, please check out this tutorial:
https://theeventscalendar.com/filtering-tec-to-show-prices-from-woocommerce-tickets/”I followed the tutorial (edited the function.php file) and since uploading I get an error when loading the upcoming events page in the browser : syntax error, “unexpected T_STRING, expecting T_FUNCTION in /home/socialsa/public_html/wp-content/themes/jupiter/functions.php on line 299”
This is the altered function.php file: http://pastebin.com/yNNT32YK
I just pasted the code at the end of the function.php file, was that correct? There is also mentioned in the tutorial an alternative of putting the code in an mu-plugin, but I don’t have that file.November 6, 2013 at 4:16 am in reply to: I want the ticket prices to show up on the upcoming events list page #74938sazzybeeParticipantThanks for the response, I used the first woocommerce instructions but kept getting a syntax error:
Parse error: syntax error, unexpected T_STRING, expecting T_FUNCTION in /home/socialsa/public_html/wp-content/themes/jupiter/functions.php on line 299299 is:
add_filter( ‘tribe_get_cost’, ‘my_wootickets_tribe_get_cost’, 10, 3 );
Any pointers? -
AuthorPosts