1vertica

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 19 total)
  • Author
    Posts
  • 1vertica
    Participant

    OK. I noticed in the working version on cvprofessor that there was a function for add_to_cart_wooticket_btns() which looks like this:
    http://pastebin.com/US1wNC3e

    I added this to the vertica-careers site functions.php but it still doesn’t bring in the add to cart button. We also can’t get the price working either. Here’s our current single.php file:
    http://pastebin.com/vnMRz7TY

    The code is the same as cvprofessor but for some reason, it just doesn’t work. What are we missing?

    Thanks for you help so far.
    Phil

    1vertica
    Participant

    php add_to_cart_wooticket_btns()

    1vertica
    Participant

    Sorry, the code was stripped from above. The php causing the issue is here:

    … added to stop it being stripped

    1vertica
    Participant

    Not yet.
    Looking back at the last thread, you fixed the list.php for us (we copied over the changes single.php) – see May 8th entry here: https://theeventscalendar.com/support/forums/topic/list-ticket-price-on-event-list/.

    It mentioned wrapping the code first:

    echo ‘Pricing data: ‘;
    var_dump($wootickets_pricing);
    tribe_get_ticket_form();
    $price_differential = echo ‘Pricing data: ‘;
    var_dump($wootickets_pricing);

    When we’ve brought over the same code into the live site, it no longer works – which is weird. Just wondering if anything else was changed in another file.

    The issue is definately connected to as both the event list page and the single page break at this point. We thought it may be a javascript conflict but removing all plugins and deregistering the javascript calls in the theme still made no difference.

    Any other ideas what we’re missing here?

    1vertica
    Participant

    Hi Barry,
    It was actually yourself who went in and added.changed some code kindly for us:
    https://theeventscalendar.com/support/forums/topic/list-ticket-price-on-event-list/#post-46758

    Not sure if you remember but you got it working. Was there something specific you changed that we need to copy over?

    in reply to: List ticket price on event description page #48148
    1vertica
    Participant

    Hi Barry, my developer found a wrapping conditional IF statement just before the pricing field:

    Commenting this out displays the price just fine now on the single event page. Thanks for your help.

    in reply to: List ticket price on event description page #48111
    1vertica
    Participant

    No probs Barry – you’re right, I do have a developer who checks my questions here and implements any changes suggested.

    I’ll ask him to modify the events description page using the same methods you have suggested for the listings page – it’s just that when we tried it before it didn’t work on the event description page.

    This resulted in back and forth on here and eventually you coming in and correcting the code that wasn’t working.

    Just thought there might be a quick answer in case that functionality still doesn’t work when we try it.

    Will keep you posted if we need any more input on this.

    in reply to: List Ticket Price on Event List #48063
    1vertica
    Participant

    Nope – as far as I understand it we haven’t done anything since you have implemented your changes.
    Please view an example listing event above on our site to see what we mean … That’s appeared since you have changed things – we thought you were helping us out as this would be our next request as per earlier in the post but it is clearly something else??

    in reply to: List Ticket Price on Event List #48021
    1vertica
    Participant

    Hi Barry
    Great news – we were thinking it must be something simple that was sescaping us.
    There are a couple of final things we require that don’t seem to be working. .. this is around having a ‘Book’ button on both the events listing page and the event details page that adds the product to the cart.

    So
    1) we require a ‘Book’ link on the event list page – this should just add one ticket to the cart and redirect straight to there
    2) there is a ‘Book’ link in 2 places on the event details pages – this is great as it is what we want – however, it doesn’t work!

    Thanks again for the help

    in reply to: List Ticket Price on Event List #47917
    1vertica
    Participant

    This reply is private.

    in reply to: List Ticket Price on Event List #47900
    1vertica
    Participant

    Hi Barry, we have included the snippet in our list.php file and see nothing different in the page. We have now also copied the events folder to the TwentyTwelve theme and tested its working with a h2 header at the top of the page so we know the template overrides are working, just not outputting anything.

    in reply to: List Ticket Price on Event List #47888
    1vertica
    Participant

    I’ve even created a new event in this theme with it’s own ticket and price so that everything is fresh and still nothing.
    see http://cvprofessor.com/workshops for the list and the event ‘Third twenty-twelve event’ is the one just created.

    in reply to: List Ticket Price on Event List #47887
    1vertica
    Participant

    Hi Barry
    I have done this here http://cvprofessor.com/workshop/test-event/
    And the price is not displaying on the listingas you can see.

    I will again ask my developer to look into this – is there anything else in the back-end we should be looking at?

    The post earlier in this thread mentions something

    in reply to: List Ticket Price on Event List #47503
    1vertica
    Participant

    Hi Barry
    We have pasted your templates as is and price still isn’t pulling through.
    Don’t really know where to go from here – perhaps it’s a setting in the back-end we’re missing?
    I can send you a login for the back-end for you to take a look?

    We have loaded a couple of events onto a test domain – http://cvprofessor.com

    in reply to: List Ticket Price on Event List #46731
    1vertica
    Participant

    Hi Barry,
    We pasted this line into the tickets.php file and we still don’t see any price coming in on either the events list page nor the single event page.
    Latest tickets.php file is now http://pastebin.com/BBP4XDEG
    Rob

Viewing 15 posts - 1 through 15 (of 19 total)