Jump to content
Latest News: (loading..)

BrockleyJohn

♥Ambassador
  • Content count

    870
  • Joined

  • Last visited

  • Days Won

    23

Everything posted by BrockleyJohn

  1. If it's repeatable for the same order (customer went back, tried again, same result) then it's probably a bug in addon code that's handling something like stock for products with attributes, or updating customer's gift voucher or something similar. A white screen is usually a php error that's not displayed, so check you're logging all errors. If it's a loop, the page will sit at loading forever. I'm stating the obvious here but the problem probably lies in the code between recording the order and sending the email.
  2. BrockleyJohn

    Cannot make TLS 1.2 work

    I am not aware of any reason to uninstall the payment modules first so I would advise against it so you don't end up with different settings.
  3. BrockleyJohn

    [CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo

    I beg to differ. This means you don't have the setting for CHARSET which should be in your language file. It's telling you the constant isn't defined. If you need to cater for its not being defined, the code would be if (defined('CHARSET') && CHARSET == 'utf-8') { but I don't think that's likely your fix here. Check your language file!
  4. BrockleyJohn

    Cannot make TLS 1.2 work

    @Enzo79 the version of the app you are currently running is not properly compatible with php7. Additionally there are various bugfixes between that and the current app version. So it's definitely worth updating and sorting out any issues that arise. If you're worried about breaking the live system, set up a test copy of your store.
  5. BrockleyJohn

    [Addon] Facebook Pixel

    Facebook pixels feed tracking information from your site into Facebook. The feature bears some similarities to Google Analytics but typically gives you more information about the behaviour of individuals and more detailed demographics. The basic pixel gives information about page views. It can be extended with event tracking. This addon implements the basic pixel and purchase event tracking with no code changes required. Compatible with any osCommerce 2.3 version including 2.3.4BS Gold and Edge. Designed to be compatible with stores implementing multiple currencies with different formats. Download link to follow shortly...
  6. BrockleyJohn

    [CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo

    try checking for existence first: if ( ! (isset($seo_urls) && is_object($seo_urls)) ){
  7. I don't think it's actually possible to satisfy all tablets on bootstrap 3 - see https://github.com/gburton/Responsive-osCommerce/issues/535
  8. @tightwad the oscommerce code was designed only to make the checkout process secure (the enable SSL toggle just affects that bit). For the whole site secure, set the HTTP_SERVER values to https: as well as the HTTPS_SERVER values If you still get mixed content warnings then http:// is hard-coded and you'll have to track down exactly where
  9. Just disable or change the content module : index - Customer Greeting
  10. There's only one advocating it - I think it's a bad idea. @rulegacy there are reviews in core - did you check out whether you can use the existing reviews module? If your data is incompatible, migrating it would be better than bespoke code unless that lacks something important to you. If you just want to display it differently, see if you can achieve that by updating only the template file. Updating functions/general.php (apart from being the wrong place for html output) is likely an unnecessary change to core code.
  11. @rulegacy first off, change $HTTP_GET_VARS to $_GET which is globally accessible @14steve14 that's where Hotclutch's approach gets properly messy - you need a third div of width 12, which this way is yet another set of pi modules. What I would do is keep all modules together and add two new ones to top and tail the right section. Shown in sort order: 1. pic is width 6 2. start new div, width 6 also class row 3. modules you want on the right at sm up 4. end new div 5. modules you want underneath
  12. It's simply <div class="row"> <div class="col-sm-6 row"><?php echo $oscTemplate->getContent('product_info'); ?></div> <div class="col-sm-6 row"><?php echo $oscTemplate->getContent('product_info2'); ?></div> </div> If you want two columns of equal width above xs. Otherwise adjust them but make sure it adds to 12. Bootstrap does the rest for you. Done like this, your module widths are divisions of the column width rather than the whole centre section (above xs).
  13. BrockleyJohn

    Change site return address?

    For paypal_standard, see the process_button method
  14. I suspect your browser has cached the redirect. There is also a small chance your hosting is serving cached pages but I'd try clearing the browser cache for the site.
  15. If you are just looking for an easy way to test your site while you are building it without setting up a payment provider, you could use money order. There's no option in the cod module for accepting orders for only virtual products for obvious reasons; you would need to change the code to do it. It accepts orders if there's something physical as well as downloadable.
  16. to do as suggested, create an extra subfolder under includes/modules/content/ (and includes/languages/....../modules/content/) called product_info2, move the modules that you want into that folder (and their template files to the subfolder and their language files to the language folder)
  17. I agree that doesn't fit very well with the delivered code. The layout that best represents what you want is two divs side by side, each half the width on sm and above, with the one on the right containing everything else that's not the gallery. The easiest way to achieve this is two extra modules, one that begins the container and another that ends it.
  18. BrockleyJohn

    Spaces in image names

    Although spaces in file names are considered a bad thing on the internet, osc allows you to upload an image whose name contains spaces and uses that name for the online version, without any apparent problems. However I have noticed that recently they have started throwing up errors in google webmaster tools. g has said for a long time that they consider image names containing spaces to be invalid and that it could prevent products showing in g shopping results. The actual error thrown up is weird - it reports as a redirect error, and shows the problem url as the image name up to the first space. Fortunately the fix is simple - you just need to edit the tep_image function in catalog/includes/functions/html_output.php to make sure that any spaces are converted to %20: strtr(tep_output_string($src),array(' ' => '%20')) instead of tep_output_string($src) Of course, avoiding spaces in the names in the first place is a good idea too.
  19. In catalog/includes/modules/product_listing.php, line 168 should be $prod_list_contents .= ' <div class="col-xs-6" itemprop="offers" itemscope itemtype="http://schema.org/Offer"><meta itemprop="priceCurrency" content="' . tep_output_string($currency) . '" /><div class="btn-group" role="group"><button type="button" class="btn btn-default"><del>' . $currencies->display_price($listing['products_price'], tep_get_tax_rate($listing['products_tax_class_id'])) . '</del>&nbsp;&nbsp;<span class="productSpecialPrice" itemprop="price" content="' . $currencies->display_raw($listing['specials_new_products_price'], tep_get_tax_rate($listing['products_tax_class_id'])) . '">' . $currencies->display_price($listing['specials_new_products_price'], tep_get_tax_rate($listing['products_tax_class_id'])) . '</span></button></div></div>'; the change here is to set the price in the schema data to the special price instead of the normal product price
  20. BrockleyJohn

    USPS Rate V4, Intl Rate V2 (official support thread)

    for ($i=0, is_array($quotes['methods']) && $n=sizeof($quotes['methods']) >= 0; $i<$n; $i++) { test it's an array before sizing it On your new error I guess you're getting an error response that's not handled properly. Try changing line 424 to } elseif (is_array($response_array['Package'])) {
  21. BrockleyJohn

    set up paypal api

    https://library.oscommerce.com/Package&paypal&oscom23
  22. BrockleyJohn

    Paypal Issue Could not verify the PayPal transaction

    create a new business account in the developer.pp and use the same credentials (copied and pasted via notepad to ensure they are the same) to login sandbox.pp this definitely works, I just did it
  23. BrockleyJohn

    Paypal Issue Could not verify the PayPal transaction

    pp invents the personal details when you create the account in sandbox if you can't use it just create a new sandbox merchant account on developer.pp and use that instead - you can have as many as you want
  24. BrockleyJohn

    Paypal Issue Could not verify the PayPal transaction

    click contact support at the bottom of the link I posted
×