Jump to content


  • Content count

  • Joined

  • Last visited

  • Days Won


Hotclutch last won the day on March 6

Hotclutch had the most liked content!


Profile Information

  • Real Name
  • Gender
  • Location
    Cape Town, SA

Recent Profile Visitors

31,044 profile views
  1. That's invalid syntax. You cannot redirect query strings like that in htaccess. You can do more harm than good when experimenting with htaccess like this, my suggestion is not to make entries in htaccess until the code you put is fully tested by someone who knows htaccess rules (which are complex). Just do this for now.
  2. Hotclutch

    Optional Related Products, Version 4.0

    $optional_rel_prods_content .= ' <div class="card" itemprop="isRelatedTo" itemscope itemtype="http://schema.org/Product">'; $optional_rel_prods_content .= ' <meta itemprop="url" content="' . tep_href_link('product_info.php', 'products_id=' . $optional_rel_prods_values['pop_products_id_slave']) . '" />'; switch (MODULE_CONTENT_PRODUCT_INFO_RELATED_PRODUCTS_HEIGHT_MODE) { case 'Equal Height': $optional_rel_prods_content .= ' <div class="card-body text-center">'; break; case 'Fixed Height': $optional_rel_prods_content .= ' <div class="card" style = "height:' . MODULE_CONTENT_PRODUCT_INFO_RELATED_PRODUCTS_HEIGHT_VALUE . 'em;">'; break; case 'None': $optional_rel_prods_content .= ' <div class="card">'; break; } Can't be right. You already have: $optional_rel_prods_content .= ' <div class="card" itemprop="isRelatedTo" itemscope itemtype="http://schema.org/Product">'; then you have a case where; case 'None': $optional_rel_prods_content .= ' <div class="card">'; break; which means somewhere in your output you could end up with <div class="card" itemprop="isRelatedTo" itemscope itemtype="http://schema.org/Product"><div class="card">
  3. Hotclutch

    New installation - which one to choose?

    No. because that's the last official one.
  4. Someone posted a similar type problem just a few posts back from yours. You need to find where in your script it is generating these parameters and then fix it, by adding code possibly. Even if the problem is already fixed / removed, google will continue to crawl the URLs indefinitely, until you put a 301 redirect on URLs of that type. A quick fix for Google would be to ignore those parameters in webmaster tools, MSN also has an ignore parameter tool.
  5. Hotclutch

    Quick way to create a maintenance page?

    quick, but not pretty: Require all denied Require ip
  6. @Harald Ponce de Leon Please keep the demo product set of the 2-series in V3 - those are classic.
  7. Hotclutch

    Osc BS Edge Product Info

    @JcMagpie @coelroy That picture of the tamatoes, and the one next to it. Are they the same dimensions in the install package? If not, and you make them the same, your layout should be perfect.
  8. Hotclutch

    Osc BS Edge Product Info

    Amazon truncates theirs i believe, but they have very long names. Personally i have never had a need to do that.
  9. https://demo.oscommerce.com/ For me, no. I would change it to Welcome to... in the language file.
  10. Hotclutch

    Osc BS Edge Product Info

    I would change the card design. I would build the card without class="card-header" i.e only with a body and footer if necessary. You can use class="card-title" inside the body for product names if you want to. Also i would put the image first in the card, followed by the product name. Then the varying name lengths become less visible. Have a look at the other ecommerce platforms most of them do it this way
  11. Hotclutch

    Osc BS Edge Product Info

    BS cards are perfectly fine. This is a design issue.
  12. It always used to be like that - Welcome to - see the official osC versions. So this is by design, it is not an error in someone's opinion.
  13. html_output.php I have not tested this, but you can try replacing tep_draw_button function with: //// // Output a jQuery UI Button function tep_draw_button($title = null, $icon = null, $link = null, $priority = null, $params = null, $style = null) { static $button_counter = 1; $types = array('submit', 'button', 'reset'); if ( !isset($params['type']) ) { $params = array('type' => ''); $params['type'] = 'submit'; } if ( !in_array($params['type'], $types) ) { $params['type'] = 'submit'; } if ( ($params['type'] == 'submit') && isset($link) ) { $params['type'] = 'button'; } if (!isset($priority)) { $priority = 'secondary'; } $button = NULL; if ( ($params['type'] == 'button') && isset($link) ) { $button .= '<a id="btn' . $button_counter . '" href="' . $link . '"'; if ( isset($params['newwindow']) ) { $button .= ' target="_blank" rel="noopener"'; } } else { $button .= '<button '; $button .= 'type="' . tep_output_string($params['type']) . '"'; } if ( isset($params['params']) ) { $button .= ' ' . $params['params']; } $button .= ' class="w3-btn '; $button .= (isset($style)) ? $style : 'w3-border w3-white'; $button .= '">'; if (isset($icon) && tep_not_null($icon)) { $button .= '<span class="' . $icon . '" aria-hidden="true"></span> '; } $button .= $title; if ( ($params['type'] == 'button') && isset($link) ) { $button .= '</a>'; } else { $button .= '</button>'; } $button_counter++; return $button; }
  14. For me the reason to BS the admin would be for the sake of having a matching front-end completing a professional look. But i agree with you if you are suggesting that not many people would administer from a (small) phone.
  15. I think Zahid is giving the wrong impression of how long it would take to produce a responsive (front or backend). It's at least a few days work if you know the framework and osC well.