| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Newest Products | ||||
|
|
Thread Tools | Search this Thread |
#91
|
|||||||||
|
|||||||||
Thanks James. Great work.
Followed the instruction but couldn't get the day to show up...here's my web: http://www.petadorn.com/store/newproducts.php Had any one tried this yet? Was something that I did wrong or? Thanks for the great work,
__________________
_____________ Capture Your Mini-Me Look! - X-CART Gold (Current Version) V4.6 - Reboot - CDSEO |
|||||||||
#92
|
|||||||
|
|||||||
Quote:
It looks like the labels from the languages.sql file aren't getting loaded. I am not sure about all the different language settings. Try adding your "Labels" and "Text" manually to the languages in the admin panel. It looks like from your site that the label for "New Products" got added but the rest did not. Try adding a couple of labels and test it. You should see if you are getting any results. - james - LABEL ================================= Name: lbl_newproducts Value: [i] New Products Name: lbl_newproducts_since Value: Products added since Name: lbl_newproducts_24hrs Value: 24 Hours Name: lbl_newproducts_3days Value: 3 Days Name: lbl_newproducts_7days Value: 7 Days Name: lbl_newproducts_30days Value: 30 Days Name: lbl_newproducts_adddate Value: Add Date Name: lbl_newproducts_sku Value: SKU Name: lbl_newproducts_product Value: Title Name: lbl_newproducts_price Value: Price TEXT ====================================== Name: txt_no_newproducts Value: No new products have been listed within timeframe you specified
__________________
X-Cart Gold Plus 4.5.4 X-PDF 4.5.3 X-Payments 1.05 CDSEO Pro 1.8.7 WebsiteCM Product Map 2.0.1 WebsiteCM Next-Prev 1.3 disabled because of SQL errors and bugs. |
|||||||
#93
|
|||||||||
|
|||||||||
Quote:
Magic!!! Thank you sooo much James, I think you've got a magic wand in your hand! Right now the only thing is the [i]lbl_newproducts_since I've got an error message says: The label for language selected is invalid. Please select another label. I'm almost there!
__________________
_____________ Capture Your Mini-Me Look! - X-CART Gold (Current Version) V4.6 - Reboot - CDSEO |
|||||||||
#94
|
|||||||
|
|||||||
Quote:
Take the "[i]" off the label name. It was used as emphasis for this listing it to this forum. I guess I went a little crazy with them. The label name should be: lbl_newproducts_since The value is the same as before. - james -
__________________
X-Cart Gold Plus 4.5.4 X-PDF 4.5.3 X-Payments 1.05 CDSEO Pro 1.8.7 WebsiteCM Product Map 2.0.1 WebsiteCM Next-Prev 1.3 disabled because of SQL errors and bugs. |
|||||||
#95
|
|||||||||
|
|||||||||
Quote:
:P Hugs to you...I did that, and forgot to refresh my browser. Shame on me! Now I am ready to do the hooter dance!!! \
__________________
_____________ Capture Your Mini-Me Look! - X-CART Gold (Current Version) V4.6 - Reboot - CDSEO |
|||||||||
#96
|
|||||||
|
|||||||
GREAT Job James!!
This is about the first mod that installed without having to tweak this or that. Come to think about it, it was rather boring. Just copy, paste, save, upload, patch...enjoy!
__________________
X-Cart 4.0.12 Gold Linux |
|||||||
#97
|
|||||||
|
|||||||
Well... I did have to make 1 tweak.
I noticed the "Manufacturers" menu wasn't showing, so... In "newproducts.php" just below: Code:
Code:
Now this may not be the correct way to do it, but it seems to work okay in 4.12 & 4.15.
__________________
X-Cart 4.0.12 Gold Linux |
|||||||
#98
|
|||||||
|
|||||||
Great mod works great
Have a problem I have put the link in the cartegories tpl {section name=cat_num loop=$categories} {if $categories[cat_num].order_by eq 20 || $categories[cat_num].order_by eq 100} <div class="VertMenuItems1">New Products</div> <hr> I have the categories separated with a <hr> the link shows in both areas of the category Any suggestions how to only show the link in the top part of the categories
__________________
yages x-cart version 4.5.5 |
|||||||
#99
|
|||||||
|
|||||||
Quote:
I saw the same thing earlier and had already updated mine. Since it was my first xcart mod I stripped the code down to the minimum and rebuilt it to learn. I forgot to add the manufacturers reference that back in the code I posted. Oops. I have gotten a lot of help from reading the forum. So, I thought it was time to give something back - james -
__________________
X-Cart Gold Plus 4.5.4 X-PDF 4.5.3 X-Payments 1.05 CDSEO Pro 1.8.7 WebsiteCM Product Map 2.0.1 WebsiteCM Next-Prev 1.3 disabled because of SQL errors and bugs. |
|||||||
#100
|
|||||||
|
|||||||
Quote:
Not sure if this helps, but I put mine like so: Code:
__________________
X-Cart 4.0.12 Gold Linux |
|||||||
|
|||
X-Cart forums © 2001-2020
|