{"id":5417316,"date":"2014-10-23T23:57:33","date_gmt":"2014-10-23T23:57:33","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/disrupting-store-layout-when-enhanced-ecommerce-plugin-activated\/"},"modified":"2016-08-22T03:46:01","modified_gmt":"2016-08-22T03:46:01","slug":"disrupting-store-layout-when-enhanced-ecommerce-plugin-activated","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/disrupting-store-layout-when-enhanced-ecommerce-plugin-activated\/","title":{"rendered":"Disrupting Store Layout when Enhanced Ecommerce Plugin Activated"},"content":{"rendered":"<p>Hi! Great plugin. Just noticing something weird when your plugin is activated on our site. Specifically, our &#8216;Add to Cart&#8217; and &#8216;Show Details&#8217; buttons below each of the products are no longer inline when activated.<br \/>\n<strong>The code before activating your plugin outputs this: <\/strong><\/p>\n<pre><code>&lt;div class=&quot;product-buttons&quot;&gt;\n\t&lt;div class=&quot;product-buttons-container clearfix&quot;&gt;\n\t\t&lt;a href=&quot;\/illimar3\/market\/?add-to-cart=22389&quot; rel=&quot;nofollow&quot; data-product_id=&quot;22389&quot; data-product_sku=&quot;BP1006&quot; class=&quot;button add_to_cart_button product_type_simple&quot;&gt;Add to cart&lt;\/a&gt;\n\t\t&lt;a href=&quot;http:\/\/www.glenwoodgarden.com\/illimar3\/product\/ajo-and-oio-twins\/&quot; class=&quot;show_details_button&quot;&gt;Show details&lt;\/a&gt;\n\t&lt;\/div&gt;\n&lt;\/div&gt;<\/code><\/pre>\n<p><strong>The code after activating your plugin outputs this:<\/strong><\/p>\n<pre><code>&lt;div class=&quot;product-buttons&quot;&gt;\n\t&lt;div class=&quot;product-buttons-container clearfix&quot;&gt;\n\t\t&lt;a href=&quot;\/market\/?add-to-cart=4977&quot; rel=&quot;nofollow&quot; data-product_id=&quot;4977&quot; data-product_sku=&quot;FC1006&quot; class=&quot;button add_to_cart_button product_type_simple&quot;&gt;Add to cart&lt;\/a&gt;\n\t&lt;\/div&gt;\n\t&lt;a href=&quot;http:\/\/www.glenwoodgarden.com\/product\/abbys-fixx-copy\/&quot; class=&quot;show_details_button&quot;&gt;Show details&lt;\/a&gt;\n&lt;\/div&gt;<\/code><\/pre>\n<p>See how the &#8216;Show Details&#8217; button gets removed from the <code>.product-buttons-container<\/code> and <code>.clearfix<\/code> div? That div kept everything inline.<\/p>\n<p>Why would it be doing this?<\/p>\n<p>https:\/\/wordpress.org\/plugins\/enhanced-e-commerce-for-woocommerce-store\/<\/p>\n","protected":false},"template":"","class_list":["post-5417316","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/5417316","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/5417316\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=5417316"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}