| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
NewProducts for 4.4.2 | ||||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
NewProducts for 4.4.2
Hi,
Newproducts for 4.4.2, of course free |
|||||||
|
#2
|
|||||||||
|
|||||||||
Re: NewProducts for 4.4.2
Great, thanks for sharing. You can go further adding this Mod to list of modules in Backend. A user can activate or deactivate this feature.
__________________
X-Cart Next: Business 5.2 (learning and testing) X-Cart Classic: Gold and Gold Plus 4.7 Lots of Modules and Customizations OS in use: Red Hat Enterprise, Fedora, CentOS, Debian, Ubuntu, Linux Mint, Kali Linux Ideas for Server configuration (basicaly): Nginx/Pound (reverse proxy), Apache/Nginx (webserver), Squid/Varnish (cache server), HHVM or (PHP-FPM + PHP 5.6 + opcache), MariaDB/Percona MySQL Server, Redis (storing sessions) You can catch my ideas here: http://ideas.x-cart.com |
|||||||||
#3
|
|||||||||
|
|||||||||
Re: NewProducts for 4.4.2
It doesn't seem to work properly in v4.4.2. I tried using the products_tn.tpl, products_t.tpl, and products.tpl all with pretty much the same result... while it displays new products, all that is displayed is the thumbnail and the product title, neither of which has the correct url (I think its blank) as all it does it go to the xcart root (home.php) when clicked.
Also, it does seem to matter if "seo friendly urls" are enabled or not. Any help would be appreciated.
__________________
Two Separate X-Cart Stores Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series. Integrated with Stone Edge Order Manager + POS Version 4.1.12 Gold (fresh install) - X-AOM - Linux Mods - XCSEO free |
|||||||||
|
#4
|
|||||||||
|
|||||||||
Re: NewProducts for 4.4.2
Ok... I think I figured out what part of the problem is. I got the thumbnails, title, and price to be displayed, but still no "buy now" details. I think it is because it needs to call customer/main/buy_now.tpl and there is a "warning" in that template that says....
Note for designers: You must register any new template variable in include/templater/plugins/function.include_cache.php file to handle cache properly Search for the 'vars_used_in_templates' variable in the file. How would I register the variables used in this mod in order to get the "add to cart" button to function.
__________________
Two Separate X-Cart Stores Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series. Integrated with Stone Edge Order Manager + POS Version 4.1.12 Gold (fresh install) - X-AOM - Linux Mods - XCSEO free |
|||||||||
#5
|
|||||||||
|
|||||||||
Re: NewProducts for 4.4.2
Open that php file and you will see how they are listed in an array
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#6
|
|||||||||
|
|||||||||
Re: NewProducts for 4.4.2
Thanks but the problem is I have no idea what variables I need to add there. Would I add "'newproducts' => array (" and then list all of the variables found in newproducts.php (newproducts_dayrange, sort_fields, days, sortby, sortdirection, products, newproducts, first_item,last_item, total_items, navigation_script)?
__________________
Two Separate X-Cart Stores Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series. Integrated with Stone Edge Order Manager + POS Version 4.1.12 Gold (fresh install) - X-AOM - Linux Mods - XCSEO free |
|||||||||
#7
|
|||||||||
|
|||||||||
Re: NewProducts for 4.4.2
Any help with this?
__________________
Two Separate X-Cart Stores Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series. Integrated with Stone Edge Order Manager + POS Version 4.1.12 Gold (fresh install) - X-AOM - Linux Mods - XCSEO free |
|||||||||
#8
|
|||||||
|
|||||||
Re: NewProducts for 4.4.2
How do you create a link for this mod in the categories template
__________________
yages x-cart version 4.5.5 |
|||||||
#9
|
|||||||||
|
|||||||||
Re: NewProducts for 4.4.2
Quote:
You don't, since it isn't a category. We just put a link to newproducts.php in the "tabs' (static pages) section.
__________________
Two Separate X-Cart Stores Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series. Integrated with Stone Edge Order Manager + POS Version 4.1.12 Gold (fresh install) - X-AOM - Linux Mods - XCSEO free |
|||||||||
#10
|
|||||||||
|
|||||||||
Re: NewProducts for 4.4.2
You can still put a link in categories menu, just outside the loop as an additional item, in categories template
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
|||
X-Cart forums © 2001-2020
|