Jump to content

 

alaa

Member Since 18 Mar 2018
Offline Last Active Feb 11 2019 07:20 AM
-----

Topics I've Started

General Question: This Marketplace Is Too Fast And Loads All Its Content As Ajax!

09 February 2019 - 05:30 PM

Hello everybody, 

 

The marketplace on this URL loads very fast despite its too much resources and big images. All its pages are loading without loader icon or indicator (loading sign next to page title on the browser). Page title and URL change dynamically. Are all its content AJAX based? 

 

To make CS-Cart navigation and content load like that, does it require to rebuild CS-Cart from the ground-up or is a straightforward process? 

 

Thanks for your contribution  :)


Product Brand Link | Why It Is Linking To The Brand Filter Instead Of The Brand Landing...

30 January 2019 - 11:39 AM

Hello everybody,

 

On my store, I have the following conf: 

 

Brand name: "Brand"

Brand Variant: "Apple"

Brand Variant SEO Name: /apple

 

 

I have also a filter by brand in product filters.

 

On the product details page, the Brand link is linking to the filter. Is it possible to make all brand links go to the actual Brand landing page. For my conf above, the brand link should be https://www.example.com/apple

 

Thank you! 

 


Product Tabs In Small Screens - How To Disable Accordion View?

28 January 2019 - 08:42 PM

Hello, 

 

Product tabs (like description, features... etc.) change to accordion style in small screens. I want to disable this feature. I am good in CSS but couldn't find any media queries or related code. Seems that it is a javascript code. How can I disable this without changing core files? 

 

I am writing to you after 2 hours of trials! 

 

Any help please? 

 

 


Add Meta Tag For Different Language

25 January 2019 - 11:39 AM

Hi All, 

 

I have the following meta tag in meta.post.tpl

 

<meta property="og:site_name" content="Store Name" />

 

I want to apply a different value of "content" for another language for my multilingual store. So Something like the below: 

{if $current.language == "fr" }

 <meta property="og:site_name" content="Store Name in French" />

{/if}

Can you please correct my code above. It is not working!


Error Code In The Header Of My Store Homepage

19 September 2018 - 04:56 PM

Hello, 

 

I hope you will help me with this issue. 

 

I found out that the browser window shows HTML code instead of the page title. In view page source, I found the following code located in the page header section within the title tag: 

<!DOCTYPE html>
<html 
 lang="ar" dir="rtl">
<head>
<title><div style="margin: 0 0 30px 0; font-size: 1em; padding: 0 10px;"> <h2>PHP Warning</h2> <h3>Message</h3> <p style="margin: 0; padding: 0 0 20px 0;">array_reverse() expects parameter 1 to be array, null given</p> <h3>Error at</h3> <p style="margin: 0; padding: 0 0 20px 0;">app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code, line: 56</p> <h3>Backtrace</h3> <table cellspacing="0" cellpadding="3" style="font-size: 0.9em;"><tr bgcolor='#EEEEEE'><td>File:</td><td>app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code</td></tr> <tr bgcolor='#EEEEEE'><td>Line:</td><td>56</td></tr> <tr bgcolor='#EEEEEE'><td>Function:</td><td><b>{closure}</b></td></tr> <tr bgcolor='#CCCCCC'><td>File:</td><td>app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php</td></tr> <tr bgcolor='#CCCCCC'><td>Line:</td><td>188</td></tr> <tr bgcolor='#CCCCCC'><td>Function:</td><td><b>content_5ba274479f0b52_18898835</b></td></tr> <tr bgcolor='#EEEEEE'><td>File:</td><td>app/Tygh/SmartyEngine/Core.php</td></tr> <tr bgcolor='#EEEEEE'><td>Line:</td><td>76</td></tr> <tr bgcolor='#EEEEEE'><td>Function:</td><td><b>fetch</b></td></tr> <tr bgcolor='#CCCCCC'><td>File:</td><td>app/functions/fn.control.php</td></tr> <tr bgcolor='#CCCCCC'><td>Line:</td><td>618</td></tr> <tr bgcolor='#CCCCCC'><td>Function:</td><td><b>fetch</b></td></tr> <tr bgcolor='#EEEEEE'><td>File:</td><td>index.php</td></tr> <tr bgcolor='#EEEEEE'><td>Line:</td><td>25</td></tr> <tr bgcolor='#EEEEEE'><td>Function:</td><td><b>fn_dispatch</b></td></tr> </table></div> Online Shopping Website.

After pasting the above code in an html file, I see this message: https://prnt.sc/kwawm6 

 

I did the following to get rid of this error with no luck: 

 

  • Disabled all third party addons. 
  • Switched back to default CS-Cart themes. 
  • Deleted cache folder in /var/
  • Recreated new layout.

 

Anyone has experienced like this issue? 

 

Note: This error shows only when I open the store in my language (Arabic). English language is fine.

 

What is the possiblity that it is a bug in CS-Cart even though I couldn't reproduce the error in demo.cs-cart.com 

 

 

Thank you in advance!