You are required to register before you can post. This is via a custom verification system. Please post any problems you are encountering here and I`ll do my best to respond as soon as I can. Please note that a reply WILL be posted to all queries, so do not double post. There are no guarantees
when a reply will appear but I do my best to answer all within 3/4 days max. Bumping topics won`t make the slightest difference.
IMPORTANT: Posts in English ONLY please, thank you! Any other languages will be ignored and your message deleted.
SEARCH: Use the search option to see if your question has been answered on the forum before. Or check the relevant script docs.
CUSTOMER: If you have purchased a commercial version of any of my software, using the contact option at the licence centre ensures a faster response.
AUTO DELETION: Accounts older than 5 days, with no posts or topics, are automatically deleted. Only register if you are thinking of posting.
PRIVATE MESSAGES: Private messages are currently disabled.
LINKS: Any links posted are 'NOFOLLOW' and will not be picked up by search engines.
You are not logged in.
Pages: 1
David,
Do you have a problem with people sharing custom templates on the forum? I was going to share a template I created that will show all items that were sold through your cart to the customer. I didn't want to share if you prohibited stuff like that. I'm not sure if most people would be interested in showing items that sold but we have had lots of users check out the items we have sold. We sell antiques and I think people like looking at the items we sell.
scarr105
Offline
David,
Do you have a problem with people sharing custom templates on the forum? I was going to share a template I created that will show all items that were sold through your cart to the customer. I didn't want to share if you prohibited stuff like that. I'm not sure if most people would be interested in showing items that sold but we have had lots of users check out the items we have sold. We sell antiques and I think people like looking at the items we sell.
scarr105
Hi Shane,
No problems at all, so feel free to share. Thanks for checking with me first, appreciate it.
Offline
If anyone is interested in a custom template that will show all items sold to your customers, feel free to download this template. My company sells antiques, so our customer wnat to see what we are selling and this template will allow you to do the same. No prices are displayed just an image and description. If you want to see prices there is a line of code you need to uncomment. This template as give the customer the ability to search your sold items.
To see a live example check out http://www.talquintradingco.com/storefr … index.html
Download: http://www.talquintradingco.com/downloads/Sold_Item.zip - updated 7/31/2012
Just unzip file and place the template in the customTemplate folder.
NOTE:
I'm not a programmer by trade, so some of the code may be able to be modified to perform better, feel free to make and changes you wish. Just ask that if you share the updated file that you document the changes and comment your code. If you have any issues with the template let me know and I will try and help where I can.
scarr105
Last edited by scarr105 (31-07-2012 11:44:55)
Offline
Thx for the template scarr105, I will give it a try.
Offline
Thanks Shane. I`ve made this post a sticky in case anyone else wants to share custom templates.
Offline
Thanks Shane. I`ve made this post a sticky in case anyone else wants to share custom templates.
Thanks david
Thx for the template scarr105, I will give it a try
Please let me know how it works, this is the first time sharing code, so I hope I get everything correct. It's working on my site so I'm pretty sure it will on others.
scarr105
Offline
Please let me know how it works, this is the first time sharing code, so I hope I get everything correct. It's working on my site so I'm pretty sure it will on others.
scarr105
Hi scarr105, I have not have the time to test it cus I been away from home no the road, But as soon as do i will let u know.
I was checking out what u have done with your website and the cart script and I like it, I will love to do the same with my cart script. Its that like an include? or there is a lot of coding to make that template (i would like to call it frame) to include the cart script inside?
I'm not a coder nor a programmer or anything like that, i just have very basic knowledge. It would probably be a nice idea to be able to have a template selector, kind of thing, like in the admin section or even the main cart script page that would allow the user/admin to chose between different templates, including a mobile template, you know how on this days, all is about the mobiles and all that. Maybe you or David can help. thx
BTW I think I saw some where on the website a section for subjections, maybe I'll copy this idea on there.
Offline
@ David, Can you make an included file version that can work from the outside of the store directory, Instead of using the index file with the actual heather and footer? Thx
Offline
Hi scarr105, I have not have the time to test it cus I been away from home no the road, But as soon as do i will let u know.
I was checking out what u have done with your website and the cart script and I like it, I will love to do the same with my cart script. Its that like an include? or there is a lot of coding to make that template (i would like to call it frame) to include the cart script inside?
I'm not a coder nor a programmer or anything like that, i just have very basic knowledge. It would probably be a nice idea to be able to have a template selector, kind of thing, like in the admin section or even the main cart script page that would allow the user/admin to chose between different templates, including a mobile template, you know how on this days, all is about the mobiles and all that. Maybe you or David can help. thx
BTW I think I saw some where on the website a section for subjections, maybe I'll copy this idea on there.
MarcAq my site is designed with tables and css. So the basics is to edit the templates/header.tpl.php with header code of your website and edit the templates/footer.tpl.php with your footer code.
In each one of those files you will see cart php code, so you just need to add your header code before the cart code and the footer code after the php code in the footer page.
Hopefully you can understand what I'm talking about but if you have questions let me know.
scarr105
Offline
@ David, Can you make an included file version that can work from the outside of the store directory, Instead of using the index file with the actual heather and footer? Thx
No, sorry. Include files are not a good idea. That can have unpredictable results.
You should follow Shane`s advice, which is the correct way of editing a templated system. Its a great example of how the look can be totally changed.
Offline
MarcAq wrote:Hi scarr105, I have not have the time to test it cus I been away from home no the road, But as soon as do i will let u know.
I was checking out what u have done with your website and the cart script and I like it, I will love to do the same with my cart script. Its that like an include? or there is a lot of coding to make that template (i would like to call it frame) to include the cart script inside?
I'm not a coder nor a programmer or anything like that, i just have very basic knowledge. It would probably be a nice idea to be able to have a template selector, kind of thing, like in the admin section or even the main cart script page that would allow the user/admin to chose between different templates, including a mobile template, you know how on this days, all is about the mobiles and all that. Maybe you or David can help. thx
BTW I think I saw some where on the website a section for subjections, maybe I'll copy this idea on there.
MarcAq my site is designed with tables and css. So the basics is to edit the templates/header.tpl.php with header code of your website and edit the templates/footer.tpl.php with your footer code.
In each one of those files you will see cart php code, so you just need to add your header code before the cart code and the footer code after the php code in the footer page.
Hopefully you can understand what I'm talking about but if you have questions let me know.
scarr105
Thank you scarr105 I will give that a try. BTW I tried your "sold_Item on my cart-script and it did not work that well, I was getting an error saying that "Could not connect: ". I been busy this pass few days trying to make some money lol and have not have the chance to play around with the script. I did re-install a clean cart v2.05 and and still getting the same error "Could not connect". This is the only thing I don't get: $Page_URL = "?np=12"; I havethe cart script as mydomain/store and when i click on the Sold Items link all i see after /store is ?np=12. can you help?
@ David Thx, so you dont like using the include, no problem. How about the idea of having the choice of more than the just the default template? maybe a mobile template?
Offline
MarcAq,
Can you provide the url to your cart. I'm not sure why the Could Not Connect error message is happening as long as you put the right info in the connection section at the top of the page.
As far as the $Page_URL you have right at ?np=12. I may have some code wrong for those stores not set to use Search Friendly URLs.
I have found 1 issue with a piece of code will re-post once I have it fixed. This issue should affect the Connection error issue you are having.
scarr105
Offline
Files have been updated. SOLD ITEMS TEMPLATE
Download: http://www.talquintradingco.com/downloads/Sold_Item.zip - updated 4/27/2012
Last edited by scarr105 (27-04-2012 17:20:34)
Offline
MarcAq,
Just realized the script will not work if you have Enable Search Engine Friendly URLs: Yes in the general settings. I'm working to fix that now. I've updated the download so you no longer have to edit the connection info, it just uses the connection info from the cart.
I updated the code to work with Search Engine friendly URLs being on or off. Also you nolonger have to edit anything in the file. It will get teh connection info form the cart script and will find page url by itself. So you just need to copy the page into the customtemplate folder.
Download: http://www.talquintradingco.com/downloads/Sold_Item.zip - updated 4/27/2012
scarr105
Last edited by scarr105 (27-04-2012 17:23:08)
Offline
OK scarr105 my url is xtremehangout.com/store i dont think I had enable the Search Engine friendly URLs because I have not done anything to the cart script, meaning is intact as i installed it on the server. I have not have the time to work on it, This is a e-store Im setting up for my wife so she can sell woman's stuff, but she is not ready as of yet, so im just getting familiar with it, before i take it live.
update: i dl ur new updated sold_item and it works perfectly thx scarr105. really appreciate i love how it works. I now have to work on some kind of header and footer lol l get it going sooner or later. thx again
Update 2 lol: two thing I noticed, if u uncoment the show price, it dont show the $ sign and if you uncoment the 'Click for Prices', you get a error page.
Last edited by MarcAq (28-04-2012 18:20:34)
Offline
MarcAq,
Thanks for the update, glad it's working almost (lol). Here is the qiuck fix, I will update the code later this weekend and post an update.
Find:
//UNCOMMENT TO SHOW PRICES
echo mc_txtParsingEngine($rowArray['salePrice']);
echo "<a href='../membership.php'>Click for Prices</a>";
and change to
//UNCOMMENT TO SHOW PRICES
echo "$".mc_txtParsingEngine($rowArray['salePrice']);
or if you want the $ at the end of the price change to:
echo mc_txtParsingEngine($rowArray['salePrice'])."$"; That line for Click to see Prices shouldn't be there, that is part of another script I'm working on and forgot to remove it.
Offline
Yeap scarr105 that did it. thx again.
BTW it would be nice if You or David would post a little tut on how to do add your own header and the footer. ...just a thought lol
Offline
Here is something quick I can share with you.
Open templates\header.tpl.php this code goes right after the body tag.
<table cellspacing="0" cellpadding="0" width="1012" align="center" border="0">
<tr>
<td>
<!-- MY HEADER START-->
<br />
<table cellspacing="0" cellpadding="0" width="100%" border="0">
<tr>
<td background="IMAGE.gif" valign="top"><img src="IMAGE.gif" /></td>
</tr></table>
<table cellspacing="0" cellpadding="0" width="100%" border="0" class="B">
<tr>
<td valign="top"> <br /></td>
</tr></table>
<table cellspacing="0" cellpadding="0" width="100%" border="0" class="B">
<tr>
<td valign="top">
<table cellspacing="0" cellpadding="0" width="100%" border="0">
<tr>
<td colspan="2" valign="top" bgcolor="#CCCC99">
<!--MENU-->
MENU HERE
<!--END MENU-->
</td>
</tr>
<tr>
<td width="20%" valign="top"> </td>
<td valign="top" align="center"> </td>
</tr>
<tr>
<td colspan="2" align="center" valign="top">
<table width="96%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td background="TBG.gif"><img src="IMAGE.gif" width="980" /></td></tr>
<tr>
<td background="TBG.gif" valign="top">
<table cellspacing="0" cellpadding="0" width="96%" border="0" align="center">
<tr>
<td valign="top" align="left">
<!-- MY HEADER END-->
<!--#######################################-->
Cart code will start here.............As you can see I left a TD open on my last line, this TD tag will be closed in the footer template. This way the cart is now within the borders of my table.
Hope that help a little, at this time I don't have the time to do a full how-to.
scarr105
Last edited by scarr105 (30-04-2012 02:26:53)
Offline
HI scarr105, please excuse my ignorance, I did copy/paste the code u gave me to the header, the only thing I didn't get was, what do I need to add or edit on the footer? do I copy the same code to the footer or what do I do to the footer?
Offline
OK, here is the remaining code for the file HTML/footer-commerical.htm. For the free version this may have to go in another footer file. If I were you I would purchase the commerical version and be done with it. This is a great cart system and worth the money.
</td></tr></table></td></tr>
<tr>
<td>image</td></tr>
</table></td>
</tr></table>
<br /><br />
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" >
<tr>
<td>image</td>
</tr>
</table>
<center>
Copyright<br />
<table border="0">
<tr>
<td>
facebook image and link</td>
<td>
<!-- BEGIN Attracta script -->
</td>
<td>
<!-- Site Meter script -->
</td>
<td>
Twitter image/link</td>
</tr>
</table>
</center>
That is everything you should need, I hope that helps.
scarr105
Offline
Sorry for the bother, scarr105 and thx for helping, that should work, no problems. BTW I do have a commerical version license.
Offline
No problem, glad I was able to help.
scarr105
Offline
Hey scarr105 HERE is what Im working on, still not as I want it, but getting there, If u look, the store, right below the nav buttons, there is a kind of gray background color that i cant get rid off. I want it to be white so it blends with all the other white parts, but I cant find where to change it.
One other thing is that I have specify that the 'Welcome to my e-store' and the below other line, is white but the damm font comes out black lol Im sure it may have to do with the code i , added. Also for some reason there is more space between the nav and the actual cart, dont know why caz in my home-test-server its not like that. But I get it to where I want it, thx for your code. I have not done anything to the footer, at least not yet, but Im sure Ill use that code too, maybe later.
BTW remember Im just trying different things to the cart script, so its not live yet. once I get the look im looking for Ill start building the rest.

Last edited by MarcAq (02-05-2012 04:42:48)
Offline
Looks good, if you post it live to the Internet maybe I can look a source code and find the issue with that small part. I'll send you a quick email, let work on that off the forum that way we don't clog up this template forum.
scarr105
Offline
Pages: 1