Jump to content

 

yinyuantao

Member Since 26 Jul 2013
Offline Last Active May 25 2014 03:28 PM
-----

Topics I've Started

Table Sorting Javascript Doesn't Work In Advanced Search

09 May 2014 - 05:00 PM

Basically I want to sorting the product table return by advanced search, the product table have custom column generated in run time so I don't think the cs cart default search will work.

So I try to use table sort javascript to do the job. There are lots of example online. You just need put
<script src="sorttable.js"></script> and <table id="mytable" border="1" class="sortable">

They all test good in simple HTML. But when I put it into cs-cart, it won't work. Of course, I refresh the cache and can see the new code in the browser debugger.

Please help! Thanks.


David

Table Sort Javascript Does Not Work In Advanced Search

09 May 2014 - 09:39 AM

Basically I want to sorting the product table return by advanced search, the product table have custom column generated in run time so I don't think the cs cart default search will work.

So I try to use table sort javascript to do the job. There are lots of example online. You just need put
<script src="sorttable.js"></script> and <table id="mytable" border="1" class="sortable">

They all test good in simple HTML. But when I put it into cs-cart, it won't work. Of course, I refresh the cache and can see the new code in the browser debugger.

Please help! Thanks.


David

Copy cs-cart website to a sub-domain

10 September 2013 - 02:53 AM

Hi,

I create a sub-domain and copy a cs-cart website to that sub-domain in separate folder , like /beta

I copy database over either.

And I change
$config['db_name'] = 'xxxx_beta'
$config['http_host'] = 'beta.domain.com';

$config['https_host'] = 'beta.domain.com';

Everything looks fine but when I try go to http://beta.domain.com/admin.php, it redirect me to http://www.domain.com/admin.php.

I check every place I can think of but can't find the issue.

Anyone can help?


Thanks,
David

3.0.x language translation

06 September 2013 - 09:10 AM

Hi,

I try to do a language translation for the customized item in the cs-cart, like the description for the category show below:
Attached File  Products_Categories.png   21.42KB   64 downloads

Can I do that or not?


Thanks,
David

cs-cart 3.0.x create addon to override the common template

31 July 2013 - 02:07 AM

Hi,

I'm trying to create an add-on which take function return value and put it on the front end .tpl file. That is a common template locate in /skins/basic/customer/common_templates/price.tpl

I create add-on file \var\skins_repository\basic\customer\addons\addon_name\common_templates\price.override.tpl to try replace the original price.tpl file but it doesn't work.

So what can I do to replace the common template or core template with my own code in the cs-cart by add-on? Is that mandatory to use hooker in add-on?

Thank you for your help.


David