I want to add a category called 'New Items', but how can I set it up so all items only listed in this category are in date format? The latest first.
Using opencart 3.0.3.2 - PHP 7.4 - Standard Template - Add to Cart Enable Disable Out of Stock Product 3.x - Export/Import Tool (V3.22) for OpenCart 3.x - Footer Social Media Link( 3.x ) v1.0
If you can't find an extension, you could pay a developer such as ourselves or post a job in the Commercial Support Forum.
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
But we really can't afford it.
Using opencart 3.0.3.2 - PHP 7.4 - Standard Template - Add to Cart Enable Disable Out of Stock Product 3.x - Export/Import Tool (V3.22) for OpenCart 3.x - Footer Social Media Link( 3.x ) v1.0
FIngers crossed it'll work.
Using opencart 3.0.3.2 - PHP 7.4 - Standard Template - Add to Cart Enable Disable Out of Stock Product 3.x - Export/Import Tool (V3.22) for OpenCart 3.x - Footer Social Media Link( 3.x ) v1.0
https://www.opencart.com/index.php?rout ... n_id=27639
Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer
I dont know default Custom HTML Code module can execute <script> tag inside but you can use those URL parameters on New Items category page URL:
Code: Select all
&sort=p.date_added&order=DESC
Code: Select all
&sort=p.date_added&order=ASC
Create a new design for your new items category
Create a html code module with these codes:
Code: Select all
<script>
if (!window.location.href.indexOf("p.date_added") )
window.location.href = "https://yourwebsite.com/new-items?&sort=p.date_added&order=DESC"
</script>
If you do it correct that whereever you click on new item category page link it will go to that link and it will sort it quickly.
Users browsing this forum: No registered users and 253 guests