Jump to content



Member Since 14 Apr 2009
Offline Last Active Feb 07 2018 08:12 AM

#282994 New Emails Andpayment Surcharge Issue In Order With Payment Surcharge

Posted by dvsgr on 20 August 2017 - 05:04 PM

Hi guys
we were facing a serious issue with the new order template.
The problem was that a payment surcharge is not showing in the order (invoice) print, even if it's charged.
You can see the payment surcharge in order screen in admin, in customer screen in old print, but not in new print.

We have contacted support and got a temporary solution, as this bug relates to a Minor severity so the maximum waiting time is 45 days.
You only need to go to Design > Documents > Invoice page of the admin panel and 
Add this code
<tr style=" vertical-align: top; font-family: Helvetica, Arial, sans-serif;">
<td align="left" style="padding-bottom: 20px; font-family: Helvetica, Arial, sans-serif;">{% if o.payment_surcharge %} {{__("payment_surcharge")}} {% endif %}
<td align="right" style="font-family: Helvetica, Arial, sans-serif;">{% if o.payment_surcharge %} {{o.payment_surcharge}} {% endif %}
Under this 
<tr style=" vertical-align: top; font-family: Helvetica, Arial, sans-serif;">
<td align="left" style="padding-bottom: 20px; font-family: Helvetica, Arial, sans-serif;">{{ __("shipping") }}
<td align="right" style="font-family: Helvetica, Arial, sans-serif;">{{ o.display_shipping_cost }}

It will be then shown almost as it should, as the surcharge title is from translation and not from the field with the alternative Surcharge title in the payment settings pop-up.





#268938 Aligning Sub-Category Names In A Six Column Layout

Posted by dvsgr on 20 January 2017 - 09:27 AM

Glad to have found this Thread, so didn't need to start a new one. Am trying to do the exact same thing on my site.


I was unable to find the following section though. In which template file is this located?


Hi Daimion,


if you go to design THemes, and open the vidual editor, you can select the custom css from the dropdown on the top and the code there and save.


Thats it



PS more here http://docs.cs-cart....mes/styles.html

#268131 Pinterest Problem

Posted by dvsgr on 11 January 2017 - 11:26 AM

Hi Silverbestbuy , I have the same problem with 4.3.10 do you solve the problem? 



Hi Guys , this is a bug in 43x latest versions, which is fixed in 44x


You can manually fix it by changing in the  app/addons/social_buttons/func.php


line 60 from this 
'description' => urlencode(fn_truncate_chars(fn_get_sb_description($params), 200)),
to this
'description' => rawurlencode(fn_truncate_chars(htmlspecialchars(fn_get_sb_description($params)), 200)),

Don't forget to clean your cache it will work fine.



#265143 Main Menu Modification ?

Posted by dvsgr on 28 November 2016 - 03:19 PM

Default main menu in mobile view takes 100% screen width, how can I change so the button would be just enough needed for icond and MENU word, but when menu opens it will be 100% width. Just I would like to fit for example search field next to menu, how can I do that?

Hi Darius


try to create a diferrent grid for Mobile view only (use visible-phone class for the grid) and add there search and menu blocks.. You can then hide the desktop ones via the class hidden-phone.


Start from there to see how it works first.






Correction best method is to add a new grid with 2 more grids inside (all ful width) like this, with those grid classes





also add this css in you visual editor

.phone-menu-grid .span8 {
    float: left;
    width: 50% !important;

.phone-menu-grid .phone-search {
    background: #34495e none repeat scroll 0 0;
    height: 46px;
    padding: 5px;

.phone-menu-grid .ty-float-left {
    float: unset;

You will get this result




#263794 Cscart.biz

Posted by dvsgr on 14 November 2016 - 08:42 AM

Let me put in few kind words also.
I dabbled with css in order to have three banners perfectly aligned underneath a slider carroussel and have them also respond to smaller screens as on tablets or larger smartphones.

It took to much time for me and Fotis just responded on my call for help on this forum and handed me a smart solution.


Three Banner is what it is called and available for not much actually on his website where he as many more very useful and customizable addons. 

Fotis is a guy  is really fast in offering a helping hand so I give Cartbiz my thumbs up.



Many many thanks Anthony,


glad that this addon could simplify your digital workflow




#263050 Sticky Main Menu

Posted by dvsgr on 02 November 2016 - 10:10 PM

as per title, how can this be achieved?


If you are up to you can do this for free


Folow the guide (besure to have my Changes addon installed and active)


Create a new folder in js/addons called /my_changes.


Add a new file named sticky.js and add the following content

    $(window).scroll(function() {
        if ($(this).scrollTop() >= 104) {
        else {

After that head into your theme for example if you use responsive theme go to


design/themes/responsive and in the css/addons open a new folder named /my_changes.


Add the file named sticky.ccs and add following content

.stickytop {
    position: fixed !important;
    top: 0;
    z-index: 1000;
.top-menu-grid {
    overflow: visible !important;
    padding-top: 0;
.fullwidth {
    display: block !important;
    left: 50% !important;
    position: relative !important;
    width: calc(100vw) !important;
.stickytop .ty-menu__items {
    margin: 0 auto!important;
    max-width: 1200px!important;
@media (max-width: 767px) {
.stickytop {
    position: relative !important;

Add another file here named sticky.less and add the following content

.stickytop {

After that again in the theme folder go to folder templates/addons this time, and create the my_changes folder if its not already there.


in there open the folder /hooks and in that the folder /index


you need now to create 2 files


a. the scripts.post.tpl and add the follwoing content

{script src="js/addons/my_changes/sticky.js"}

 and the file styles.post.tpl with the following content

{style src="addons/my_changes/sticky.css"}
{style src="addons/my_changes/sticky.less"}

You only need to retain the class name of the Grid that houses your main menu block,  to "top-menu-grid" in order for this to work.




Clean your CS-Cart Cache (admin.php?cc&ctpl) and the menu bar will stick to top each time you roll more than a page content.


Hope you find this usefull




If you are not up to creating this you can download it for free from our store.

#260023 Cs-Cart Hellas In Web World Expo

Posted by dvsgr on 23 September 2016 - 07:54 PM

One more year, the Web World Expo exhibition is approaching and the CS-Cart Hellas sales team will be there for the fourth consecutive year.


Attached File  stis-22-kai-23-oktobriou-e-web-world-expo-2016_ftdy.640.jpg   26.36KB   27 downloads


The exhibition will take place at the Zappeio Convention Center (Athens) from the 22nd to the 23rd of October .




If you're going to visit Web World Expo, do not hesitate to visit our booth No. 14 or contact us at anytime at our email: info@dvs.gr


We look forward to introducing you our latest products and news! Hope to see you there

#259408 Rss Feed Reader - Dvs.gr

Posted by dvsgr on 13 September 2016 - 05:38 PM



I just had a hard time figuring out why Gzip was not enabled on our server. We ran / run Nginx etc. but it works now. We are not quite there yet in terms of server response / page loading and any addon that might affect page loading we are very reluctant to purchase.



Yes its a good tactic.


Let me have a look on that quote for you, I pm you



#259399 Aligning Sub-Category Names In A Six Column Layout

Posted by dvsgr on 13 September 2016 - 03:41 PM



Thank you very very much for this information. I have implemented and toyed with and it is great. Thanks



I am glad it worked fine for you!



#259307 Aligning Sub-Category Names In A Six Column Layout

Posted by dvsgr on 12 September 2016 - 07:59 AM

I am trying to align sub-category names in a nice 6 column layout.


Where can find the  actually holds the category view.tpl file to amend ?




Yours truly,




I would go with something like this

.subcategories   {
    -moz-column-count: 4;
    -moz-column-gap: 20px;
    -webkit-column-count: 4;
    -webkit-column-gap: 20px;
    column-count: 4;
    column-gap: 20px;

.ty-subcategories__item {
    display: inline-block;
    margin: 5px 20px 5px 0;

to get his result




You can adjust your margins, columns as you wish



#258395 Can New Product Pages Be Created By Importing Csv Files?

Posted by dvsgr on 31 August 2016 - 07:44 AM

...or do I need to create each page individually?  I think the answer is no, but I thought I would just ask anyhow.

I have a bunch of new products I will be adding to store.




try this





You can create a csv, and each line is a product. (sample of the file http://kb.cs-cart.com/example-import)







#258392 Nominate And Vote For Cs-Cart In Cmscritic!

Posted by dvsgr on 31 August 2016 - 07:40 AM

Last Day!


Last chance to give as many nominations as we can!



Go to https://www.cmscriti...-critic-awards/


fill in your data


choose from the list  "Best eCommerce Software"


and give a few good reasons why you nominate it, like multistore, multilanguage, many addons, 100% open source, responsive, SEO frirendly , marketplace available, nice forum etc (be descriptive and include how you've used the product. Incomplete responses will be disregarded.)


Voting beginns September 15, 2016.




#258391 Display Short Description In Block "most Popular"

Posted by dvsgr on 31 August 2016 - 07:37 AM

.. and clear cache also as schemas are cached in CS-Cart




Clear Cache is my second name.....

#258220 Error: Invalid Version Specified

Posted by dvsgr on 29 August 2016 - 09:57 PM

I have been seeing this lots of times lately.


When opening a product page I get the message


Error: invalid version specified


in a red box and white page.




Well it looks like the Social Buttons Addon is having an issue with Facebook javascript.


so to the file

responsive / templates / addons / social_buttons / providers / facebook.tpl


at line 10 add &version=v2.7 jsut after the &appId={$addons.social_buttons.facebook_app_id}

 $.getScript("//connect.facebook.net/{$addons.social_buttons.facebook_lang}/all.js#xfbml=1&appId={$addons.social_buttons.facebook_app_id}&version=v2.7", function () {

Clean your store cache an reload. Should be ok now.


It looks like the template on Like button is incomplete; upon clicking on the "Get Code" button Facebook will generate you a complete template with the version parameter included.


Hope this helps someone with the same trouble I had.



#258219 Centering A Grid And Block On Page

Posted by dvsgr on 29 August 2016 - 09:24 PM


I am trying to center a grid with 5 blocks, I have tried many different css, but I cannot figure it out.


I have used a User-defined CSS-class for the 16 width grid  "shop-category-main-content-grid"



.shop-category-main-content-grid .span3{padding:10px; text-align:center;}
.span16 .shop-category-main-content-grid {margin:0 auto;}
I have tried many different ways, but I cannot center on page.




your problem is that you a retrying to center all of them together. You have 16 columns and 5 grids. You can not divide it even.


So I would go with percentage width for each grid . For example each grid should have around 20% width, but take in consideration any margin. That's for Desktop. Then you need for tablet and phone different percentages.


So build grids with size 3 and then add this


.shop-category-main-content-grid .row-fluid .span3 {
    margin-left: 0 !important;
    width: 20%;

It will get the full width of the 16 grid without any space between. Go as you wish from there.