NewProducts for 4.4.2
1 Attachment(s)
Hi,
Newproducts for 4.4.2, of course free :) |
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.
|
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. |
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. |
Re: NewProducts for 4.4.2
Open that php file and you will see how they are listed in an array
|
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)?
|
Re: NewProducts for 4.4.2
Any help with this?
|
Re: NewProducts for 4.4.2
How do you create a link for this mod in the categories template
|
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. |
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
|
All times are GMT -8. The time now is 09:59 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.