<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:clearspace="http://www.jivesoftware.com/xmlns/jive/rss" version="2.0">
  <channel>
    <title>Adobe Community: Message List - Remove product from cart AND go to catalog with 1 button</title>
    <link>https://forums.adobe.com/community/business_catalyst/ecommerce?view=discussions</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    <pubDate>Mon, 10 Nov 2014 19:18:36 GMT</pubDate>
    <generator>Jive Engage 7.0.0.1  (http://jivesoftware.com/products/)</generator>
    <dc:date>2014-11-10T19:18:36Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Re: Remove product from cart AND go to catalog with 1 button</title>
      <link>https://forums.adobe.com/message/6916355?tstart=0#6916355</link>
      <description>&lt;!-- [DocumentBodyStart:9fe77eb6-37fa-40ac-b9d8-14b3bcd3daf3] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I was messing around with it and figured it out.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I changed the onclick value ...false to ...true.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Apparently this allows the href value to be used after the onclick function has run. &lt;span style="font-size: 10pt; line-height: 1.5em;"&gt;Here's the jquery i used to make the change.&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;$(linkA).attr('onclick',$(linkA).attr('onclick').replace('false','true'));&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I hope this helps someone else.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:9fe77eb6-37fa-40ac-b9d8-14b3bcd3daf3] --&gt;&lt;img src='/beacon?t=1415884360374' /&gt;</description>
      <pubDate>Mon, 10 Nov 2014 19:18:36 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6916355?tstart=0#6916355</guid>
      <dc:date>2014-11-10T19:18:36Z</dc:date>
      <clearspace:dateToText>2 days 18 hours ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Remove product from cart AND go to catalog with 1 button</title>
      <link>https://forums.adobe.com/message/6908951?tstart=0#6908951</link>
      <description>&lt;!-- [DocumentBodyStart:96aebecf-35a1-4d03-abaf-0cf58da0e4ed] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;How can I modify the remove item from cart button to also go to a catalog when the item is removed on click?&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Here's the button:&lt;/p&gt;&lt;p&gt;&amp;lt;a href="/all-ttha-gear" onclick="UpdateItemQuantity(0,324401,282161,9383705,337215,'','US');return false;"&amp;gt;Continue Shopping&amp;lt;/a&amp;gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I used javascript to change the text to "Continue Shopping" and changed the href value from "#" to "/all-ttha-gear".&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;This link is being displayed in a modal when a user drops the shopping cart total below $40. I want them to click continue shopping and have it remove the bonus item from the cart.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;As the a tag is displayed above, it removes the correct product but stays on the same page.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Any thoughts?&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;a class="jive-link-external-small" href="http://ttha-test3.413sga.com/" rel="nofollow"&gt;Here's a link to the test site.&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:96aebecf-35a1-4d03-abaf-0cf58da0e4ed] --&gt;</description>
      <pubDate>Fri, 07 Nov 2014 15:46:35 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6908951?tstart=0#6908951</guid>
      <dc:date>2014-11-07T15:46:35Z</dc:date>
      <clearspace:dateToText>5 days 21 hours ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
  </channel>
</rss>

