I can NOT find this code!!!

I’m ripping my hair out.



I want to have the ADD TO CART and ADD TO WISHLIST buttons on the same line.

I can see from viewing the HTML that there are two divs, one for each of them. I want to remove them!



I have done this for the product page wheny ou are viewing just one product.



But I can’t for the life of me find where it’s putting the divs for the frontpage and product list page!



The code has this:


```php








```

I have turned the DIV into XDIV on the view product page but I can't find it ANYWHERE to change for the other pages!! For your info, I changed one_product.tpl for the product page.

I would be so greatful if someone knew where to look :(

David

Here is the front page : [url]http://staging.murr.in/sit[/url]



You can see the two buttons, but they aren’t on the same line.



Here is the page for an item itself : [url]http://staging.murr.in/sit/index.php?dispatch=products.view&product_id=1498[/url]



Buttons are next to each other.

I have not checked but I think this is what you want.



For the front page, you need to check your “Product of the Day” block to see which template is set. You can then make whatever changes to the corresponding template in /skins/YOURSKIN/customer/blocks.



For the product list pages, the layout templates are in /skins/YOURSKIN/customer/blocks/list_templates. You need to check the setup templates in /skins/YOURSKIN/customer/views/categories/custom_templates to see which layout template is called.



Bob

The wishlist code is contained in:



skins/you-skin/customer/addons/wishlist/views/wishlist/components/add_to_wishlist.tpl



The add to cart is located in:



skins/you-skin/customer/buttons/add_to_cart.tpl



I just replied in your other thread about aligning the images.



Hope that helps,



Brandon

I found a reference to $separate_buttons in a file - which looks like it changes the DIVs to be appearing or not.



I just don’t know where to set $separate_buttons

[quote name=‘brandonvd’]The wishlist code is contained in:



skins/you-skin/customer/addons/wishlist/views/wishlist/components/add_to_wishlist.tpl



The add to cart is located in:



skins/you-skin/customer/buttons/add_to_cart.tpl



I just replied in your other thread about aligning the images.



Hope that helps,



Brandon[/QUOTE]



Those files only contain the reference for showing the buttons, but not the DIV tags that surround them - that’s what I can’t find

Inside this:



[COLOR=“DarkGreen”]skins/SKINNAME/customer/common_templates/product_data.tpl[/COLOR]



I changed this:


<{if $separate_buttons}div class="buttons-container"{else}span{/if} id="cart_add_block_{$obj_id}">



to this






As well as the associated /IF statement.



That’s seemed to have worked.