Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

andyd64

Pioneers
  • Posts

    24
  • Joined

  • Last visited

Everything posted by andyd64

  1. Thanks John, I managed to get it working before your post, but thanks for your help, you convinced me that if I stuck with it I would get it sorted. As you say, and I agree, Slimbox2 works great with less code and is quick to load. regards, Andy
  2. No help for thick box, but just to let you know a little more about slimbox2 and what John said about it being simpler and quicker(I think). I had been struggling to install slimbox2. but eventually I used the install for lightbox http://addons.oscommerce.com/info/6517 to get the code change in the body section of the products_info.php which is the same for slimbox2. Basically it was Find this code in products_info.php document.write('<?php echo '<a href="java script:popupWindow(\'' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id']) . '\')">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], addslashes($product_info['products_name']), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>'); Replace it with document.write('<?php echo '<a href="images/' . $product_info['products_image'] . '" rel="lightbox" title="' . $product_info['products_name'] . '">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], addslashes($product_info['products_name']), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>'); The three lines in the HEAD section for slimbox2 are (for me) <script type="text/javascript" src="js/jquery.js"></script> <script type="text/javascript" src="js/slimbox2.js"></script> <link rel="stylesheet" href="css/slimbox2.css" type="text/css" media="screen" /> Instructions on the files and locations required in the js and css folder are here http://www.digitalia.be/software/slimbox2 Only other issue I had was that when downloading and installing the jquery file from jquery.com, which is needed for slimbox2, the filename needed changing to jquery.js rather than the name that downloaded (jquery-1.3.2.min.js ) I am only using it with single images. Andy
  3. Thanks, I have done that and it appears to work. At least I now should know about the orders now. I was however trying to avoid this contrib as it conflicts with some others I wanted to use. Still have the original question though does the stock OSC paypal work for anybody else (only when the customer pays by card and without a paypal account) or do I have an error in my store? The return address in paypal was already set and everything worked fine when they had a paypal account and paid using it. Andy
  4. Hi again, Does this mean the stock OSC paypal payment method does not work for everybody?. Does anybody have the existing osc paypal module installed and can they go to paypal and pay (without a paypal account). do the order details appear in your store?
  5. Hi, Hope someone can help, I have made purchases through paypal (with paypal account) and the order info works fine and after payment I am returned to my OSC site and all order details are recorded correctly. However someone has just made a purchase using paypal but without having a paypal account. I receive the confirmation email from paypal but my site does not record the purchase at all. I have tried this myself and after making the payment in paypal (without an account) it does offer to return to merchant store but when I get there it asks me to log in again and no information about the order has been recorded, the item is still in stock etc. I am currently using the default OS commerce paypal method. There is lots of info on paypal in the forums but I am struggling to find the answer to my specific problem. Andy
  6. I think I have some problems then as there is no box for me to tick. Also the little change to the javascript has now stopped working and giving me the same 'error on page' I obviously have something wrong! Andy
  7. Vger, Forgive all the questions - I can get the popup window working for the coupon information but I had to remove the word 'coupon' from <a href="java script:couponpopupWindow in the catalog\includes\boxes\shopping_cart.php is this okay or have I missed something somewhere on the install. Andy
  8. It does say congratulations you have redeemed the voucher when I click on the link from the email and displays the voucher and amount in the shopping cart but how do I actually spend it - I assumed I had to put the code into the redeem box at checkout in order to deduct the voucher amount from the purchase total. Andy
  9. Hi Vger, I was mainly after the discount coupon and have found a couple issues - on the payment info screen I have to click 'continue' before the credits available redeem box and button appears. This might be how it is supposed to be but thought I would check with you. Also when I redeem the coupon the 'Coupon : more info' appears in the shopping cart box but when I try clicking on it, it appears not to do anything and returns the javascript error 'error on page' in the bottom left info bar. It must be something simple as when I put the path directly in to explorer it works. I have tried the gift voucher enabled but no virtual ones at the moment. I tried the email route. It emailed it okay and gave a code but when I went to the site from the email it redeemed it, showed the amount in the shopping cart but when I tried to enter the redeem code it said 'invalid coupon code' I then tried emailing it on to another person and that all worked and issued a new code but again said 'invalid coupon code' The gift vouchers appear in the 'gift vouchers sent' in admin but as yet am unable to redeem. Are they supposed to appear in the gift voucher queue for authorisation? Also noticed a small spelling mistake to the text in catalog/includes/languages/english/gv_redeem.php 'gifr' instead of 'gift' Thanks for a great contirb, the instructions for the new files and amendments were straight forward. Andy
  10. Hi Rhea, I am in the process of installing your contrib (you put it live about 6 hours before I was going to start the dreaded CCGV) and apart from PWA contrib already installed causing a little confusion I have reached the first file (88) where I need to add DIR_WS_LANGUAGES but I have found that this is already defined in the centre shop control contribution that I have added.. require(DIR_WS_LANGUAGES . $language . '/' . 'center_shop.php'); Do I need to change yours slightly and if so have I missed any entries prior to this point. Thanks, Andy
×
×
  • Create New...