Support

Home Forums Event Espresso Premium "Add to Cart" showing up in Menu

"Add to Cart" showing up in Menu

Posted: April 3, 2014 at 7:50 am

Viewing 10 reply threads


Trilink

April 3, 2014 at 7:50 am

I recently updated version 4 to the latest version. However, after making some changes on the site, I noticed the “add to cart” buttons, etc. are showing up in the Services menu (above the other post titles) instead of being embedded directly in the page. I use a child theme to avoid this type of error. However, I’d appreciate any suggestions how to correct this. Thank you!
http://trilink.pro/events/eo-review-and-case-studies/


Josh

  • Support Staff

April 3, 2014 at 9:09 am

Hi Sean,

Can you check to see if the issue goes away when you switch to the parent theme? The child theme looks like it has been set up incorrectly:

http://trilink.pro/wp-content/themes/vision7studio-child/style.css

There should not be any PHP code in the style.css file.

Also, the latest version of Event Espresso 4 is 4.1.11, which is newer than 4.1.10. This site is one release behind.


Trilink

April 3, 2014 at 2:15 pm

Josh,
Thanks for your help. I deactivated the plugins before and after updating. Once I updated to 4.1.11, the Add to Cart button returned. However, I still see the registration add to cart info in the Services tab. Any suggestions how to proceed from here? It appears somehow I’ve inserted language which makes it appear above the other posts inside the Services dropdown navigation.???

Click the link, then Click Services in the navigation;
http://trilink.pro/events/eo-review-and-case-studies/


Josh

  • Support Staff

April 3, 2014 at 3:04 pm

Hi Sean,

Did you try activating the Parent theme to see if that makes a difference?


Trilink

April 3, 2014 at 3:05 pm

Yes, the parent theme is active now.


Josh

  • Support Staff

April 3, 2014 at 4:22 pm

Hi Sean,

So we know it’s not something in the child theme. Can you try temporarily deactivating all non-EE plugins? Also, if you install the theme test drive plugin you can test drive one of the twenty* themes (you’ll need to save the menu config for the tested theme) and check to see if the extra content still shows up in the menu. This will help narrow down what’s causing the issue.


Trilink

April 4, 2014 at 8:05 am

Josh, I viewed via Theme test drive. We’re using a custom theme, which has nav built-into it. So,it appears its somewhere in the code causing it to show up in the Services “drop-down”. It’s basically the same event you’re viewing in a single post format, which shows up in the Services menu. This doesn’t seem to happen when viewing the event registration page.


Josh

  • Support Staff

April 4, 2014 at 10:26 am

Sean, is this custom navigation hardcoded in, is it using native WordPress navigation menus, or something else? If you can post your template code that displays the custom menu in a pastebin and post a link to it here that may help us investigate.


Trilink

April 4, 2014 at 10:41 am

Josh, it appears the custom nav is hardcoded in. It appears from the view source that the Events code is showing below services. However, I’ll have to see if I can find where the nav is, as I don’t see this code, except in view source.

</div>
<div class=”clear”></div>
</div>
<div id=”head_bot”>
<div id=”head_menu”>

<li >Home
<li >About Us
<li class=”ln3″ >Services »
<ul id=”subnav”>
<div class=”event-content”>

<h3 class=”about-event-h3 ee-event-h3″>
<span class=”ee-icon ee-icon-event”></span>Event Details </h3>
<p>
<span class=”small-text”>Event Phone: </span> <span itemprop=”telephone”>(405) 423-1514</span> </p>
<br/>
<div class=”event-tickets”>
<h3 class=”ticket-selector-h3 ee-event-h3″>
<span class=”ee-icon ee-icon-tickets”></span>Ticket Options </h3>
<form id=”” method=”POST” action=”http://trilink.pro/events/fundamentals-of-annuities/?ee=process_ticket_selections”><input type=”hidden” id=”process_ticket_selections_nonce” name=”process_ticket_selections_nonce” value=”d09c287cf6″ /><input type=”hidden” name=”_wp_http_referer” value=”/events/fundamentals-of-annuities/” /><div id=”tkt-slctr-tbl-wrap-dv-806″ class=”tkt-slctr-tbl-wrap-dv” >
<table id=”tkt-slctr-tbl-806″ class=”tkt-slctr-tbl” border=”0″ cellspacing=”0″ cellpadding=”0″>
<thead>
<tr>
<th scope=”col” width=””>Available Tickets</th>
<th scope=”col” width=”22.5%”>Price <span class=”smaller-text no-bold”>(each)</span></th>
<th scope=”col” width=”12.5%” class=”cntr”>Qty*</th>
</tr>
</thead>
<tbody>
<tr class=”tckt-slctr-tbl-tr ticket-on-sale”>
<td class=”tckt-slctr-tbl-td-name”>
<b>Free Ticket</b>

show details +


hide details –

</td>
<td class=”tckt-slctr-tbl-td-price jst-rght”>$0.00 <span class=”currency-code”>(USD)</span></td>
<td class=”tckt-slctr-tbl-td-qty cntr”>
<select name=”tkt-slctr-qty-806[]” id=”ticket-selector-tbl-qty-slct-806-1″ class=”ticket-selector-tbl-qty-slct”>
<option value=”0″> 0 </option>
<option value=”1″> 1 </option>
<option value=”2″> 2 </option>
<option value=”3″> 3 </option>
<option value=”4″> 4 </option>
<option value=”5″> 5 </option>
<option value=”6″> 6 </option>
<option value=”7″> 7 </option>
<option value=”8″> 8 </option>
<option value=”9″> 9 </option>
<option value=”10″> 10 </option>
</select>

<input type=”hidden” name=”tkt-slctr-ticket-id-806[]” value=”6″ />
<input type=”hidden” name=”tkt-slctr-ticket-obj-806[]” value=”Tzo5OiJFRV9UaWNrZXQiOjMwOntzOjEwOiIAKgBfVEtUX0lEIjtpOjY7czoxMDoiACoAX1RUTV9JRCI7aTowO3M6MTI6IgAqAF9US1RfbmFtZSI7czoxMToiRnJlZSBUaWNrZXQiO3M6MTk6IgAqAF9US1RfZGVzY3JpcHRpb24iO3M6MDoiIjtzOjE4OiIAKgBfVEtUX3N0YXJ0X2RhdGUiO2k6MTM5MjUwNzYwMDtzOjE2OiIAKgBfVEtUX2VuZF9kYXRlIjtpOjEzOTY4OTM2MDA7czoxMToiACoAX1RLVF9taW4iO2k6MDtzOjExOiIAKgBfVEtUX21heCI7ZDpJTkY7czoxMzoiACoAX1RLVF9wcmljZSI7ZDowO3M6MTE6IgAqAF9US1RfcXR5IjtpOjU2O3M6MTI6IgAqAF9US1Rfc29sZCI7aToxNDtzOjEyOiIAKgBfVEtUX3VzZXMiO2Q6SU5GO3M6MTU6IgAqAF9US1RfdGF4YWJsZSI7aTowO3M6MTM6IgAqAF9US1Rfb3JkZXIiO2k6MDtzOjExOiIAKgBfVEtUX3JvdyI7aToxO3M6MTg6IgAqAF9US1RfaXNfZGVmYXVsdCI7aTowO3M6MTQ6IgAqAF9US1RfcGFyZW50IjtpOjA7czoxNToiACoAX1RLVF9kZWxldGVkIjtpOjA7czoxMjoiACoAX0RhdGV0aW1lIjtOO3M6MTk6IgAqAF9EYXRldGltZV9UaWNrZXQiO047czo5OiIAKgBfUHJpY2UiO047czoxNjoiACoA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oiX1RLVF9JRCI7YToxOntzOjg6InN0YW5kYXJkIjtpOjY7fXM6ODoiX1RLVF9taW4iO2E6MTp7czo4OiJzdGFuZGFyZCI7aTowO31zOjg6Il9US1RfbWF4IjthOjE6e3M6ODoic3RhbmRhcmQiO2Q6SU5GO31zOjEyOiJfVEtUX3RheGFibGUiO2E6MTp7czo4OiJzdGFuZGFyZCI7aTowO31zOjk6Il9US1RfbmFtZSI7YToxOntzOjY6InByZXR0eSI7czoxMToiRnJlZSBUaWNrZXQiO319czoxNDoiACoAX0V4dHJhX01ldGEiO047fQ==” />


Lorenzo Orlando Caum

  • Support Staff

April 4, 2014 at 11:34 am

Hi there Sean,

That is part of the page source which shows the code after it has been run.

Could you check the theme files here with an FTP client (Filezilla and Cyberduck are some free options):

wp-content/themes/yourthemefolder/


Lorenzo


Josh

  • Support Staff

April 4, 2014 at 2:06 pm

To help you narrow down where to look, usually navigation menus are in the header.php template, but your theme may be different.

Viewing 10 reply threads

The support post ‘"Add to Cart" showing up in Menu’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso