Jump to content

Xpajun

Members
  • Content count

    1,740
  • Joined

  • Last visited

  • Days Won

    7

Everything posted by Xpajun

  1. I find that my card processer and merchant bank are a lot cheaper than PayPal Plus... about 95%, or may be more, of my sales that are returned are eBay sales
  2. Xpajun

    Product listing

    YesI can understand that for a program that adds bits on to your image but in osc just set the width of your images and if you have a square image a square image will be on the page - the answer to the original question
  3. Xpajun

    Product listing

    Just set the image settings width to 250 height can be left blank or auto
  4. Hi joli, just seen this, the logos are loaded in categories in admin in the normal way, in my case as gif files - Apart from the coding I posted (and the superfish add on) everything is already in place in osC
  5. Xpajun

    [Addon} Superfish Categories Box

    As promised: add c.categories_image to the select query: $categories_query_raw = " select c.categories_id, c.parent_id, c.categories_image, cd.categories_name add 'image' => $categories['categories_image'], to the array: if ($categories_id != 0) { $categories_data[$index] = array ( 'id' => $categories_id, 'name' => $categories['categories_name'], 'image' => $categories['categories_image'], 'parent_id' => $categories['parent_id'], 'path' => $path_string ); finally add $output .= ' <img src="images/' . $category['image'] . '"> '; before or after the name output foreach( $data_array as $category ) { if( $category['parent_id'] == 0 ) { $output .= ' <li class="sf-menu sf-vertical ui-state-default ui-corner-all" onmouseover="$(\'a#categories\').removeClass(\'ui-state-default\').addClass(\'ui-state-hover ui-state-focus\');" onmouseout="$(\'a#categories\').addClass(\'ui-state-default\').removeClass(\'ui-state-hover ui-state-focus\'">' . PHP_EOL; } else { $output .= ' <li class="subcat">' . PHP_EOL; } $output .= ' <a href="' . tep_href_link( FILENAME_DEFAULT, $category['path'], 'NONSSL' ) . '">'; $output .= ' <img src="images/' . $category['image'] . '"> '; $output .= $category['name']; $output .= '</a>' . PHP_EOL; if( $category['subcat'] !== false ) { $output .= $this->format_data( $category['subcat'], true ); } $output .= ' </li>' . PHP_EOL; } The result: The logos are 30px high while the pics are 180px wide - you have to make the pics all the correct (similar) size
  6. Xpajun

    [Addon} Superfish Categories Box

    Thank you Jim - I was on the right track - it was the output that I couldn't get right, I've now done it, I will post the code and a screen capture of how it looks when I reduce the images a littie ;)
  7. Xpajun

    [Addon} Superfish Categories Box

    Hi, First off many thanks for this mod - it's something I've been looking for for a long time... I want to add images to the categories in this mod, so far all I have managed is the image name :rolleyes: I've also tried using tep_db_fetch_array($image) to no avail Can anyone point me in the direction I should be looking Thanks
  8. Xpajun

    Secpay PayPoint Issue

    Forget the latter half of my above post - the weird invoice is due to a customer discount that doesn't work properly :rolleyes: At about line 152 of paypoint_secpay.php FIND: list($REQUEST_URI, $CHECK_SUM) = split('hash=', $HTTP_SERVER_VARS['REQUEST_URI']); REPLACE WITH: list($REQUEST_URI, $CHECK_SUM) = explode('hash=', $HTTP_SERVER_VARS['REQUEST_URI']);
  9. Xpajun

    Secpay PayPoint Issue

    That may fix it - but very temporately (deprecated functions are done for a reason) but it is not the answer. George, lines 150 - 160 read: if ( ($HTTP_GET_VARS['valid'] == 'true') && ($HTTP_GET_VARS['code'] == 'A') && !empty($HTTP_GET_VARS['auth_code']) && empty($HTTP_GET_VARS['resp_code']) && !empty($HTTP_GET_VARS[tep_session_name()]) ) { $DIGEST_PASSWORD = MODULE_PAYMENT_PAYPOINT_SECPAY_READERS_DIGEST; list($REQUEST_URI, $CHECK_SUM) = split('hash=', $HTTP_SERVER_VARS['REQUEST_URI']); if ($HTTP_GET_VARS['hash'] != md5($REQUEST_URI . $DIGEST_PASSWORD)) { tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, tep_session_name() . '=' . $HTTP_GET_VARS[tep_session_name()] . '&payment_error=' . $this->code ."&detail=hash", 'SSL', false, false)); } } else { tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, tep_session_name() . '=' . $HTTP_GET_VARS[tep_session_name()] . '&payment_error=' . $this->code, 'SSL', false, false)); } } explode does work as you suggest but I got a weird invoice with it: Waiting for Monday now to check with PayPoint tech staff
  10. Xpajun

    Different shipping costs in UK

    Oza - sorry for the long delay in posting - been very busy... this is the one I used and adapted for UK Parcelforce and then International Parcelforce - it works very well but your customes have to use the correct format for the UK postcode I.e XX1 2ZZ because the program looks for the space to set the shipping price
  11. Xpajun

    Different shipping costs in UK

    Use a shipping zone for postcodes - what courier are you using?
  12. Xpajun

    OSC 2.3 order editor?

    Go to Admin>orders select order you want to delete and click delete ;)
  13. Xpajun

    Help with UK shipping options

    Yeah customers are quite good at finding out about that - especially international ones How are you shipping Business airmail or personal airmail i.e. do you have an account with Royal Mail? Sounds good Loks as though that bit is messed up - I'll start with the last... sort order is the order the shipping is shown on the shipping page so 1 appears above 2, 2 above 3 and so on Let's take the nUmbers that appear on zones 3:2.50 means that anything upto 3 is shipped at 2.50 In our case using weights anything up to 3kgs is shipped for £2.50 or someone that ships wine 3 bottles for 2.50€ Now these tables are written in such a way that you can use multiple prices/'weights' like so: .1:7.54,.2:8.06,.3:8.58,.5:9.62,1:12.22,1.5:14.81,2:17.41 The numbers before the : are the 'weights' and the numbers after the : are the price so anything upto .1kgs costs £7.54 anything between .1kgs and .2kgs costs £8.06 right the way up to 2kgs costing £17.41 Whatever unit you choose 'weight'wise must remain the same throughout For safety many store owners will put something like 200:999 as the last weight/price which'll make everything over 2kgs (your max airmail weight if you're not selling books) £999 to send otherwise it will default to £0.00
  14. Xpajun

    Help with UK shipping options

    @@Carol A simple way would be to add a number in front of your weight i.e. Small packets = 105,110,115,120 Medium packets = 205,210,215,220 Large Packets =305,310,315,320 And then price them up into one zone 105:0.5,110:0.8,115:1.0,120:1.75,205:0.95,210:1.5,215:1.75,220:2,305:1.25,310:1.5,315:1.95,320:2.5 and so on Oh... and don't show the weight on you invoices Don't forget your 'weights' are just a number the number can indicate anything you want to e.g. bottles, yards, metres, kgs or even lbs. I have a list of all the euro country iso codes used by Royal Mail might even be able to come up with europe and australasia if you are not a RM business customer Add the signed for price into your pricing for airmail
  15. Why doesn't my spell checker work on this forum? It's bloody annoying!!

  16. Xpajun

    Europe Cookie Laws

    This wonderful line is in your cookie_usage.php (it shows when customers have their browser set not to accept cookies and your store is set to force cookie use) osC cookies are not the tracking cookies that the EU are getting concerned about
  17. Xpajun

    zone rates only use first weight for calc

    Hi Mark, Glad you managed to sort it yourself - I don't think anyone else would have caught on to that somehow. Standard 2.3.1 has those lines uncommented as does 2.2 - are you using a template by any chance?
  18. Xpajun

    Paypals virtual terminal

    It is not only web sites that have to be compliant now Chris: (from the FAQs of Trustwave) As I mused on another post, I wonder how long it will be before you have to be compliant to process through places like PayPal? I would advise Denise - or anyone else asking the question for that matter - to ask questions of their merchant bank or business bank, is is the banking world that have set the rules and can give you the answers. I think you will find that the fees to be compliant are far cheaper than the amounts quoted in this forum (they may have been true a few years ago) especially if you are only within the lower compliancy ratings Julian
  19. Xpajun

    Products Cycle Slideshow

    You haven't uploaded the contents of the catalog folder in their respective places catalog/imagess/pc_images (new folder) catalog/includes/jquery-1.2.6.min.js catalog/includes/jquery.cycle.all.min.js catalog/includes/jquery.easing.1.3.js catalog/images/modules/products_cycle_slideshow.php
  20. Xpajun

    OSC 2.3 order editor?

    A get around - not necessarily perfect but is working - apparently this may be a php5.3 issue In edit_orders.php find: if (ORDER_EDITOR_USE_AJAX == 'true') { echo ' <td align="right" class="dataTableContent"><input name="update_totals['.$i.'][title]" id="'.$id.'[title]" value="' . trim($order->totals[$i]['title']) . '" onChange="obtainTotals()"></td>' . "\n" . ' <td align="right" class="dataTableContent"><input name="update_totals['.$i.'][value]" id="'.$id.'[value]" value="' . number_format($order->totals[$i]['value'], 2, '.', '') . '" size="6" onChange="obtainTotals()"><input name="update_totals['.$i.'][class]" type="hidden" value="' . $order->totals[$i]['class'] . '"><input name="update_totals['.$i.'][id]" type="hidden" value="' . $shipping_module_id . '" id="' . $id . '[id]"></td>' . "\n"; } else { echo ' <td align="right" class="dataTableContent"><input name="update_totals['.$i.'][title]" id="'.$id.'[title]" value="' . trim($order->totals[$i]['title']) . '"></td>' . "\n" . ' <td align="right" class="dataTableContent"><input name="update_totals['.$i.'][value]" id="'.$id.'[value]" value="' . number_format($order->totals[$i]['value'], 2, '.', '') . '" size="6"><input name="update_totals['.$i.'][class]" type="hidden" value="' . $order->totals[$i]['class'] . '"><input name="update_totals['.$i.'][id]" type="hidden" value="' . $shipping_module_id . '" id="' . $id . '[id]"></td>' . "\n"; } change to: if (ORDER_EDITOR_USE_AJAX == 'true') { echo ' <td align="right" class="dataTableContent"><input name="update_totals['.$i.'][title]" id="'.$id.'[title]" value="' . trim($order->totals[$i]['title']) . '" onChange="obtainTotals()"></td>' . "\n" . ' <td align="right" class="dataTableContent"><input name="update_totals['.$i.'][value]" id="'.$id.'[value]" value="' . number_format((double)$order->totals[$i]['value'], 2, '.', '') . '" size="6" onChange="obtainTotals()"><input name="update_totals['.$i.'][class]" type="hidden" value="' . $order->totals[$i]['class'] . '"><input name="update_totals['.$i.'][id]" type="hidden" value="' . $shipping_module_id . '" id="' . $id . '[id]"></td>' . "\n"; } else { echo ' <td align="right" class="dataTableContent"><input name="update_totals['.$i.'][title]" id="'.$id.'[title]" value="' . trim($order->totals[$i]['title']) . '"></td>' . "\n" . ' <td align="right" class="dataTableContent"><input name="update_totals['.$i.'][value]" id="'.$id.'[value]" value="' . number_format((double)$order->totals[$i]['value'], 2, '.', '') . '" size="6"><input name="update_totals['.$i.'][class]" type="hidden" value="' . $order->totals[$i]['class'] . '"><input name="update_totals['.$i.'][id]" type="hidden" value="' . $shipping_module_id . '" id="' . $id . '[id]"></td>' . "\n"; } If anyone would like to pass comment on this or offer an alternative?
  21. Xpajun

    order editor for 2.3.1

    not sure why they are there but I took out the two ? ? on that line and it works get a headers already sent problem with template_top installed though - so took it out again
  22. Xpajun

    OSC 2.3 order editor?

    After trying all the usual "headers already sent" tricks I cured this by reverting back to version 1.0 and losing template_top.php but my admin is mindspark so I don't need template_top.php However I get this on load: Warning: number_format() expects parameter 1 to be double, string given in admin/edit_orders.php on line 1737 which will disappear after an update with ajax on but not without it and when I click on + for sub total Warning: number_format() expects parameter 1 to be double, string given in admin/edit_orders_ajax.php on line 485 Anyone have ideas on this
  23. Xpajun

    Products Cycle Slideshow

    I would suppose it is possible but would it be worth it? You certainly do not have to show any of your best sellers just concentrate on new products and specials, mind you, if you have 10 of each showing, your top best seller is only going to show 1 in 30 times - about once every 4 minutes - would your customers stay on your index page for 4 minutes?
  24. Xpajun

    Products Cycle Slideshow

    Cristian, The box will show white when there are no images for the program to load, that would point to the set up in admin is wrong or you have no best sellers, new products or specials. With a new store you won't get a best seller without buying something, try loading up some new products as well...
  25. Xpajun

    Products Cycle Slideshow

    Cristian, from the installation.txt: catalog/index.php Find around 258: <div class="contentText"> <?php echo TEXT_MAIN; ?> </div> Add after: <div class="slideshow"><?php require(DIR_WS_MODULES . 'products_cycle_slideshow.php'); ?> </div> Find 2-3 lines below: include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); comment out: // include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); catalog/includes/languages/english/index.php Add before the final ?> define('BOX_HEADING_BESTSELLERS', 'Best Seller'); define('BOX_HEADING_WHATS_NEW', 'New'); define('BOX_HEADING_SPECIALS', 'Promotion'); catalog/stylesheet.css Add the following to the end /*--- Beginning of Addition Products Cycle Slideshow ---*/ .slideshow { padding-left: 10px; } .ProductsCycleSlideshowWrapper { width: 504px; padding:0; margin:0; overflow: hidden; text-align:center;} .ProductsCycleSlideshow { height: 310px; width: 500px; padding:0; margin:0; overflow: hidden; border: 2px solid #bbc3d3; background-color:#fff;} .PCSChild { height: 296px; width: 486px; padding: 7px; text-align:center; top:0; left:0 } .PCSChild a { text-decoration: none; color:000;} .PCSChild a img { border: none; border-width:0px;} .PCSOutput { text-align:center; font-size:14px;} .PCSOutput a { text-decoration: none; color:#000; } .PCSPager { margin:7px; } .PCSPager a { border: 1px solid #bbc3d3; background: #fff; color:#bbc3d3; text-decoration: none; margin: 0 5px; padding: 3px 5px; font-size:12px;} .PCSPager a.activeSlide { border: 1px solid #000; background: #bbc3d3; color:#000;} .PCSPager a:focus { outline: none; } /*--- End of Addition Products Cycle Slideshow ---*/ catalog/index.php means you will find the index.php in the catalog folder catalog/includes/languages/english/index.php means you will find this index.php in the english folder, which is in the languages folder, which is in the includes folder, which is in the catalog folder (the first index.php is the program, the second is the text language i.e. what you would read on the page)
×