Jump to content

 

fiberit

Member Since 05 Oct 2013
Offline Last Active Aug 09 2022 03:12 PM
-----

#341165 Configuration For New Cpanel - Nginx

Posted by fiberit on 25 July 2021 - 07:10 AM

We need a good configuration for new Nginx - cPanel

Problems found: 
1. If you setup login restrictions first blocked IP will block all users




#336406 Bootstrap 4.5 Or 5 Support

Posted by fiberit on 09 February 2021 - 12:36 PM

Updated: https://github.com/m...SCZ-Boilerplate




#335858 Bootstrap 4.5 Or 5 Support

Posted by fiberit on 27 January 2021 - 06:48 AM

Here is a starting project for bootstrap 4

https://github.com/f...SCZ-Boilerplate

We can work together to update this project.




#329793 Change Font Size After Decimal Point

Posted by fiberit on 22 July 2020 - 11:20 AM

You can use sup for decimals.
 

   ifcount($pieces) == 2 ) {
      $value = $pieces[0] . '<sup>' . $pieces[1] . '</sup>';
    }
   

function my_format_price($price, $currency, $span_id='', $class='', $is_secondary=false, $live_editor_name='') {
 
    $value = fn_format_rate_value($price'F'$currency['decimals'], $currency['decimals_separator'],
    $currency['thousands_separator'], $currency['coefficient']);
    /* Set this to the class name you want to use to format numbers to the right of the decimal */

    $pieces = explode($currency['decimals_separator'], $value);
    // This is the real modification to the code
    ifcount($pieces) == 2 ) {
      $value = $pieces[0] . '<sup>' . $pieces[1] . '</sup>';
    }
   
    if( !empty($span_id) && $is_secondary ) {
      $span_id = 'sec_'.$span_id;
    }
    $span_id = !empty($span_id) ? (' id="' . $span_id . '"') : '';
    $class = !empty($class) ? (' class="' . $class . '"') : '';
    $live_editor_attrs = '';
    ifRegistry::get('runtime.customization_mode.live_editor') && !empty($live_editor_name) ) {
      $live_editor_attrs = 'data-ca-live-editor-obj="' . $live_editor_name . '"';
    }
    if$class ) {
      $currency['symbol'] = '<span ' . $class . '>' . $currency['symbol'] . '</span>';
    }
    $data = array'<span' . $span_id . $class . $live_editor_attrs . '>',
       $value,
      '</span>'
      );
    if$currency['after'] == 'Y' ) {
      array_push($data'&nbsp;' . $currency['symbol']);
    } else {
      array_unshift($data$currency['symbol']);
    }
    return implode(''$data);
  }



#329605 Noindex On Tag

Posted by fiberit on 15 July 2020 - 07:50 AM

Try to add this in meta.tpl : 
 

{if $smarty.server.REQUEST_URI|strpos:'/index.php?dispatch=' !== false}
<meta name="robots" content="noindex, nofollow" />
{/if}



#328091 Vendor Statuses

Posted by fiberit on 25 May 2020 - 03:01 PM

Hi,

 

We need more statuses for vendor: 

1. Suspended vendor (when we need to suspend for some reason)
2. Pending changes -> (when they change informations on company)

 

This are only 2 statuses that I think anyone will need ! 




#312016 Hiding Vendor Menu Items

Posted by fiberit on 08 February 2019 - 07:32 AM

Cs-cart MV is far to be mature software! cs-cart is adding Plus and Enterprise but the standard solution has a lot of bugs and problems ! 

For example if you want to manage Vendors groups you must upgrade to plus :))) ! You buy MV to manage vendors but you can`t setup permission group for them ! I don`t understand cs-cart method ! 
 




#227273 Product Title

Posted by fiberit on 19 August 2015 - 07:58 PM

How can we change the product titles ? They are too long.
All categories and subcategories name goes on product title and it`s too long.

It`s this ok for seo ?


#222141 Length Of Truncated Product Name In Sales Reports

Posted by fiberit on 08 July 2015 - 09:00 PM

Change "29" with lenght you need