Change add to cart to sold out - opencart

I have made a script to change "add to cart" to "sold out", but I'm not sure what I have done wrong.
In my opencart 2.0.3.1 I can't seem to get it working, but it works great in opencart 1.5.x
Since the xml file is too big to post it here, I linked it here http://nicotineeliquids.com.au/matt/SHOW_SOLD_OUT_IF_PRODUCT_QUANTITY_IS_ZERO.xml
I'm not sure what I need to change, please help me to solve this.
Thanks

Related

Opencart store page and links

I have locally installed opencart into the ".../shop" part of my website. Now I want to fit my site header and footer to appear around the site.
Please can people help advise the best way of doing this. I have a header.php and footer.php included on ever page of my site but am not clear how to implement this on the shop page.
I am thinking that there is going to be conflicts especially linking to other pages via the shop section. Will the hrefs in my header in the shope section need to direct differently?
You'd want to goto your catalog/view/theme/default/template/common/header.tpl and footer.tpl and make the changes.

opencart checkout not expand,just show the 6 steps

Hi i have problem with opencart 1.5.6.4,my checkout dont like to expand and to show register or login when you proces to buy the product just,show the 6 step whit out to expand,The buttons at the one-page checkout are not expanding. If u visit this link: http://imeibox.com/index.php?route=checkout/checkout u can see there is not button are not doing anything, so we cannot fill in any information or select any options. Is there a simple solution for this problem or is there bad coding behind those buttons?
kind regards
GEORGI
Well this looks like it could be anything.
First thing that comes to mind,have you added a Jquery library to the header.tpl file recetly? if you have,there's your problem.
Try some checkups to see where the issue is coming from
1:turn off the theme you are using and check the cart again
2:Turn off any new modules you have installed
3:check your error log,and see what you have there,dont forget to check the vqmod/logs
usually that area of opencart works without a problem.so its either some code you did,the theme you are using or a bad module
DO not forget to do a backup before you do anything

Big Cartel - adding a note section before checkout

I have a big cartel website - Im trying to add a 'leave a note' section before payment but with absolutely no knowledge about html etc im finding it very difficult.
I know I have to go into custom mode and edit it but cant seem to find out what to input?
Any ideas?
Thanks
Unfortunately there's not currently a way to include a "notes" section for your customer with Big Cartel, even with customization. Right now your only option is to use PayPal for checkout and take advantage of the Notes To Seller field they provide.

Moving the Menu to the Logo Row in Joomla

Im a Joomla newbie and i am looking for a solution to solve my problem. I want to moving the menu to the logo row. If im correct, there is no option to solve this problem directly from the administrator panel. After many hours spent with searching I couldn`t find a solution to that problem. Currently I use the default theme (Protostar). How can I move the menu in the same line as the logo? Thank you!

AdSense with OpenCart

After hours upon hours of searching through stackoverflow and AdSense forums, i am not able to find anything to help me implement my google adsense code in my opencart template.
Originally i put the code in the welcome module hoping it would show up on the top of each page but this did not work at all.
I found an extension called KINZA which was free but once installed, this simply outputs the javacript code on my website and not the actual ad.
My question is this: I would like to have one of my ads up top across the page and maybe one on the sidebar as a thin skyscrapper size. How would one do this ? Where in my opencart template would i implement the code ?? I do not want to spend money on an extension to get this to work. I would rather just dive in the code and paste it where it needs to be.\Any help is GREATLY appreciated.
Thank you !
there are 6 files that are included in every page of frontend
catalog/view/theme/your_theme/template/common/header.tpl , footer.tpl , column_left.tpl , column_right.tpl , content_top.tpl , content_bottom.tpl
you can put your code in any one of these and it should work fine
you can make a module for adsense so that you can control its layout and position from admin .... here is a guide of to make/duplicate a module at opencart forums http://forum.opencart.com/viewtopic.php?t=6696
Opencart 3 onwards does not support google adsence you can not show ads just go for wordpress or any other