Jump to content

multimixer

♥Ambassador
  • Content count

    4,733
  • Joined

  • Last visited

  • Days Won

    72

Posts posted by multimixer


  1. 6 hours ago, IAmGrammy said:

    .storenav { color: #000000; font-size: .8em; }

     

    1) If html is

    <a class="storenav" href="#" ...

    the css should be

    a.storenav{ ...

    You are targeting a "a" element that has a class "storenav"

    2) if html is

    <div class storenav>
      <a href="#" ...

    the css should be

    .storenav a { ...

    You are targeting a "a" element that comes after another element with class "storenav"

     

     


  2. I don't think that modifying the core js file of the application is a good idea, also not start using the uncompressed file.

    The file is like that for a reason and is not meant to be modified in order to change any settings

    Any options can be passed to the script before it is called in your code. This is the common way for all scripts of this type.

    That way you can have individual settings for each purpose keeping the core file healthy. can upgrade easily by just replacing the file without having to re-modify etc

    More info about passing default parameters: http://www.jacklmoore.com/colorbox/faq/#faq-defaults

    More info general: http://www.jacklmoore.com/colorbox/faq/


  3. Look at my edit on previous post please

    18 minutes ago, multimixer said:

    Looking further, the reason for the problem is following link to a css file that comes after the link to the user.css file in your template_top.php

    
    <link href="ext/bootstrap/spacelab/bootstrap.min.css" rel="stylesheet">

     Why you have this is something only you know, I believe however that user.css should be the last one linked in order to overwrite any previous rules

     


  4. Try to add following additional to the rules you added

    .btn-success,
    .btn-success:hover{
      background-image:none;
    }

    Edit

    Looking further, the reason for the problem is following link to a css file that comes after the link to the user.css file in your template_top.php

    <link href="ext/bootstrap/spacelab/bootstrap.min.css" rel="stylesheet">

    Why you have this is something only you know, I believe however that user.css should be the last one linked in order to overwrite any previous rules


  5. 44 minutes ago, valquiria23 said:

    not only be here to look for clients

    Any evidence for that?  

    Uploading addons are not the only way to support the project.

    From there on, the author is responsible for what he is uploading, pointing out (possible) mistakes has the purpose of making the product - the addon - better. Its up to the author to take advice or not. 

     


  6. I'm wondering why this module has database query for product attributes, it has nothing to do with attributes ?

          $products_attributes_query = tep_db_query("select count(*) as total from products_options popt, products_attributes patrib where patrib.products_id='" . (int)$_GET['products_id'] . "' and patrib.options_id = popt.products_options_id and popt.language_id = '" . (int)$languages_id . "'");
          $products_attributes = tep_db_fetch_array($products_attributes_query);

    Can you explain ?


  7. Its not the point about a "better alternative", its about your responsibility

    If you like what you are producing, then you can keep doing and use it for your self.

    Uploading for others to use, require at least some basic responsibility and attention

    There is already more than enough crap in the addons area, lets try not to make it more, its in your hand


  8.     function execute() {
          global $oscTemplate, $product_info;
    
          $content_width = (int)MODULE_CONTENT_PI_STOCK_CONTENT_WIDTH;
    
          if (isset($_GET['products_id'])) {
            if (tep_not_null($product_info['products_model'])) {
              $products_model = $product_info['products_model'];
    
              ob_start();
              include('includes/modules/content/' . $this->group . '/templates/tpl_' . basename(__FILE__));
              $template = ob_get_clean();
    
              $oscTemplate->addContent($template, $this->group);
            }
          }
        }

     


  9. Are you checking what you are uploading?

    I'm not sure taking your last one as an example

    function execute() {
          global $oscTemplate, $product_info, $products, $manufacturer, $languages_id;
          
          $content_width = (int)MODULE_CONTENT_PI_STOCK_CONTENT_WIDTH;
          
          if (isset($_GET['products_id'])) {
            $manufacturer_query = tep_db_query("select m.manufacturers_id, m.manufacturers_name, m.manufacturers_image, mi.manufacturers_url from " . TABLE_MANUFACTURERS . " m left join " . TABLE_MANUFACTURERS_INFO . " mi on (m.manufacturers_id = mi.manufacturers_id and mi.languages_id = '" . (int)$languages_id . "'), " . TABLE_PRODUCTS . " p  where p.products_id = '" . (int)$_GET['products_id'] . "' and p.manufacturers_id = m.manufacturers_id");
            if (tep_db_num_rows($manufacturer_query)) {
              $manufacturer = tep_db_fetch_array($manufacturer_query);
          
           if (tep_not_null($product_info['products_model'])) {
            $products_model = $product_info['products_model'];
          
          
          $product_description = stripslashes($product_info['products_description']);
          $products_quantity = stripslashes($product_info['products_quantity']);
          $products_name = stripslashes($product_info['products_name']);
          $products_url = stripslashes($product_info['products_url']);
          $products_gtin = stripslashes($product_info['products_gtin']);
          $products_seo_description = stripslashes($product_info['products_seo_description']);
          $products_seo_keywords = stripslashes($product_info['products_seo_keywords']);
          $manufacturers_image = stripslashes($manufacturer['manufacturers_image']);
           
          
            ob_start();
            include('includes/modules/content/' . $this->group . '/templates/tpl_' . basename(__FILE__));
            $template = ob_get_clean();
    
            $oscTemplate->addContent($template, $this->group);
          
        }
            }}}

    What has all that stuff to to with the products model display ?

    Please put at least some basic attention to what you are uploading


  10. 16 hours ago, 2skys said:

    is this possible with option types?

    Any type of custom price calculation based on options is possible, you just need to be clear how exactly the final price is "constructed"

    Example

    https://www.upnorthprint.com/product_info.php/a4-booklet-with-double-sided-cover-and-double-sided-bw-inners-on-white-paper-p-472

     

×