Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Dave01978

Archived
  • Posts

    29
  • Joined

  • Last visited

Profile Information

  • Real Name
    David

Dave01978's Achievements

  1. Ok I have had this mod done for quite some time now, and now sometime, not always i get this message (only noticed it when logged in_ Warning: htmlspecialchars() expects parameter 1 to be string, array given in /home/waterles/public_html/catalog/includes/functions/general.php on line 42 Warning: htmlspecialchars() expects parameter 1 to be string, array given in /home/waterles/public_html/catalog/includes/functions/general.php on line 42 Any idea what is wrong? Thanks Dave
  2. Jared: How is this accomplished? Is there a Contrib? Please explain. search the contributions for Simple Master Login not sure how to install it yet
  3. Never mind dumb question found it in admin Dave
  4. ok i was having a dumb moment i got it to work now, and i wasn't 100% sure if i was putting into the right file before Thanks dave
  5. forgot to add the link of the mod http://www.oscommerce.com/community/contri...ns,1895/page,12 Here is the readme (i've edited it my site info and price info already) SC Free Gift Contribution By Norman Hinks. With help from G.Waudby This is a basic code addition to provide a free gift option to most stores. I'm using it on MS2.2 and it works fine with the DHTML Menu active. Set up a category for your free products but do not give it a name, set its position to 99. This ensures its the last thing on the menu if it does show! Put your products in here as usual. Using Php MyAdmin, alter the creation dates of the Free gifts in order to remove them from the New Products windows set the Year for last year. Add this code to where ever you wish to link to your free gifts. e.g shopping_cart.php <?php if ($cart->show_total()>=100) { ?> <font face="Verdana, Arial, Helvetica, sans-serif" size="2" color=red> <a href="http://waterlesscarwashproducts.com/catalog/product_info.php?products_id=54">You have spent enough for a free gift.<b> Click here </B>to choose one if you haven't already </a></font> <?php } else { echo "<font face=Verdana size=2 color=red><b>"; echo "You only have to spend "; echo $currencies->format(-$cart->show_total()+100); echo " more to receive your free gift.</b>"; echo "</font>"; } ?> The following changes are required to the above code. www.your_site.co.uk/~ - set this to your own site 35 - This is the figure at which the free gift page is activated. This needs setting in two places. default.php may need to be index.php as was my case. cPath=169 - This needs to change to whatever your free category path is. If you have trouble working this out, give it a name and when it appears in the menu, click it and the path will be shown in the address bar. remove Temporary name and its hidden again! Enjoy. This doesnt stop multiple free gifts being selected but I'm sure that will come.
  6. im trying to install this free item mod for orders over $100.00 I added the product and changed the date in the databaase, however im not sure where to add the code i've added it to several shopping_cart.php files but keep getting errors andyone know which file it needs to gointo and where in that file? Thanks in advance Dave
  7. Ok I got it working now, Thank you very much for your help, I've been to the database before but never changed or added anything. Thanks again buddy
  8. No I did not, I thought that was part of notes. How do i do this? sorry for the dumb questions
  9. I've installed this mod and when you enter in any info i get this 1054 - Unknown column 'purchased_without_account' in 'field list' select customers_id, purchased_without_account, customers_firstname, customers_password, customers_email_address, customers_default_address_id from customers where upper(customers_email_address) = '[email protected]' and upper(customers_firstname) = 'SHANNON' and upper(customers_lastname) = 'PAPPAG' [TEP STOP] I am also new to this and am not super familiar with this stuff easier i may have done something wrong i also installed version PWA_0.70 and followed the instructions my store is www.waterlesscarwashproducts.com Thanks dave
×
×
  • Create New...