Jump to content

 

yinyuantao

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

Posts I've Made

In Topic: Table Sort Javascript Does Not Work In Advanced Search

19 May 2014 - 03:12 PM

Hi David,

Why you do not use php hooks in the fn_get_products function to sort products by custom fields in the database?


It's not a field in the database.

We have many features such as A, B, C, D, each product may contains more than one features. We search products with multiple features check box. Then we create a percentage match column in result data table.
percentage match = (features number used in the search)/(features number for product )
So if I search products with features A, B, the one of result product contains features A, B, C, we will get percentage match = 2/3 .

I don't think fn_get_products is useful here, am I right?

In Topic: Copy cs-cart website to a sub-domain

11 September 2013 - 05:19 PM

The issue is fixed by turning ssl setting off since ssl will redirect you to the production domain.

Thank you guys.

In Topic: Copy cs-cart website to a sub-domain

11 September 2013 - 12:36 AM

Ensure the values in config.local.php are correct:-

$config['http_host'] = 'www.domain.com'; $config['http_path'] = '/beta';
Then empty the "cscart_stored_sessions" database table and delete the cache via FTP in /beta/var/cache/ That should get you back up and running with access to both the main store and the beta store admin panels.


Hi Stellar,

I try all the step you mentioned, but still did not work. Not sure if it cause by ssl since when I type http://beta.domain.com/admin.php, it redirect me to https://www.domain.com/admin.php.

Also I map the sub-domain to beta folder in the root
like:
/root
/beta
/public_html
So the value $config['http_path'] = '', not /beta.

It is odd :confused: it did not work. Hope you have a clue.


Thanks,
David

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

31 July 2013 - 02:40 PM

* in case of update you may need to modify again /skins/basic/customer/common_templates/price.tpl


Thanks Vali, this is surely helpful.

But if it need modify again after upgrade, does it seem to be meaningless to have add-on here? Can we avoid change after upgrading?



David