Hello to all !
First of all I want to thank everyone at Joomlart for the wonderful developer license gift I received from you. I will put it to good use. Joomlart in my opinion designs the best templates I have ever seen. Now with that said, I have a question if someone could please help. I am very much in the learning stage and do not want to mess anything up.
Right now I am working with Jm_Natris at http://theironshop.net. I am using the template for a portfolio site only. My question is, what would be the best way to either modify or remove the compare products or my cart blocks ? Thanks in advance and for designing templates that kick a** !
Ron
10 answers
Dear actinnovations!
Please do the following:
-- To remove my cart: open app\design\frontend\default\jm_natris\layout\check out.xml and add this code:
Code:
<remove name="cart_sidebar"/>
to line 35.
to modify it, please change app\design\frontend\default\jm_natris\checkout\car t\sidebar.phtml
-- To remove compare products: Open catalog.xml and add this code:
Code:
<remove name="catalog.compare.sidebar" />
to line 46.
to modify it, please change app\design\frontend\default\jm_natris\catalog\prod uct\compare\sidebar.phtml
Regards!
Thank you so much !
Hello thangnn1510,
Thanks again for your help, but It is not changing anything. The code that is already on line 35 is "</default>". I tried writing the <remove name="cart_sidebar"/> code before, and after the code on line 35 and saved it to the server. I then check on the server to make sure the code was there and it is. Unless I am suppose to delete "</defaultl> and then put "<remove name="cart_sidebar"/>" in it’s place, but you said to add the code, not to delete anything. Never the less, it’s not working for me. Your help is very much appreciated !
Ron
Hello thangnn1510,
Thanks again for your help, but It is not changing anything. The code that is already on line 35 is "</default>". I tried writing the <remove name="cart_sidebar"/> code before, and after the code on line 35 and saved it to the server. I then check on the server to make sure the code was there and it is. Unless I am suppose to delete "</defaultl> and then put "<remove name="cart_sidebar"/>" in it’s place, but you said to add the code, not to delete anything. Never the less, it’s not working for me. Your help is very much appreciated !
Ron
Did you try to clear your cache in admin? After modifying code in in xml file, I suggest that you should clear or refresh cache in system-> cache manage.
Thanks again for getting back to me. As a matter of fact, no I did not. I will give it a try. Thanks again !
Ron
Ok.. That worked. I have to remember to refresh the cache. Thank you so much ! I have 2 more questions if you don’t mind. (1) Can I delete the PayPal logo by just removing the PayPal XML file ? Or do I have to add code to remove it ? And (2) Now that I got rid of the "compare products" and the "cart" block, what code would I use to put a callout in their place so it is just not blank there ? Thanks in advance ! Ron
Please do the following:
1) Go to admin -> system -> configuration. In paypal tab, choose "no logo" for "PayPal Product Logo"
2) Add this code:
Code:
<block type="core/template" name="left.permanent.callout" template="callouts/left_col.phtml"> <action method="setImgSrc"><src>images/media/col_left_callout.jpg</src></action> <action method="setImgAlt" translate="alt" module="catalog"><alt>Our customer service is available 24/7. Call us at (555) 555-0123.</alt></action> <action method="setLinkUrl"><url>checkout/cart</url></action> </block> <block type="core/template" name="right.permanent.callout" template="callouts/right_col.phtml"> <action method="setImgSrc"><src>images/media/col_right_callout.jpg</src></action> <action method="setImgAlt" translate="alt" module="catalog"><alt>Our customer service is available 24/7. Call us at (084) 912-939-475.</alt></action> <action method="setLinkUrl"><url>checkout/cart</url></action> </block>
to about line 55 of app\design\frontend\default\jm_natris\layout\catal og.xml
Hope this helps.
Man, you guys are on it ! Thank you so much !
Ron
i just want to remove the cart from the home page and not the inside pages, how can this be done
i just want to remove the cart from the home page and not the inside pages, how can this be done
Please go to admin -> CMS -> Pages and then edit "Home Page". In "Layout Update XML" paramter of "Design" tab, please add this code:
<remove name="cart_sidebar"/>
to the end.