Page 1 of 1

Sort Latest By Date Available

Posted: Wed Dec 16, 2015 3:55 am
by fisher05
Is there any reason why this can't work for as well? this free extension was originally for 1.5x but looks to replace the same code - however it does not work for me!, any one got any tweaks on offer that could make this work for the new version?

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
	<id>Sort Latest products by date available</id>
	<file name="catalog/model/catalog/product.php">
		<operation error="skip">
			<search position="replace" index="1"><![CDATA['p.date_added']]></search>
	<file name="catalog/controller/module/latest.php">
		<operation error="skip">
			<search position="replace"><![CDATA['sort'  => 'p.date_added',]]></search>
			<add><![CDATA['sort'  => 'p.date_available',]]></add>

Re: Sort Latest By Date Available

Posted: Mon Oct 16, 2017 4:47 pm
by paddys_1
There is an OC Mod that changes the sort order to show items by the date added, so the most recent are displayed first