![]() |
That will be very gratefull if you could modify it.
Thanks |
I also would love to have this mod work so that the customer could select accessories using a checkbox and then move all of them to the checkout at once.
Thanks Greg 4.0.13 heavily modified |
Check boxes should be added but its going to require some extra coding. Right now im in the middle of a big project and can't exactly focus on getting check boxes added. If some one would like to work on getting this added or has already done a mod for it then please post it here.
Thanks, |
any news on whether this could work on 4.14?
|
tried installing this and got this message:
Warning: mysql_connect(): Access denied for user: 'apache@localhost' (Using password: NO) in /home/httpd/vhosts/qvsdirect.com/httpdocs/quickshop/templates_c/%%E5^E5B^E5BB4BE6%%subaccessphp.tpl.php on line 22 Could not connect to SQL db |
QVS,
Make sure Code:
global $sql_host, $sql_user, $sql_db, $sql_password; is not commented out. The error says it can't connect to the MySQL DB. Try adding this on the last line to subaccessphp.tpl Code:
echo "SQL Host: $sql_host"; Refresh the product page and tell me what it says under "SQL Host". |
It worked fine on 4.0.18 xcart, you can see this at http://www.shisha.co.uk/shopcart/product.php?productid=16139&cat=265&page=1
I had to change the subaccessdiag.tpl to fit my own needs, the code is below: Code:
{capture name=dialogacc}{section name=product loop=$products}{assign var="discount" value=0} Also the code for the product.tpl file, i had to move this, so it was under the product and not at the bottom like you mentioned in your post. This code is showing the bottom part of my product.tpl file Code:
|
Just wanted to say that this is a very good mod, thank you for this.
It would be nice instead of using the mysql patch, there was a section in the admin area where the product is that you could enter in the cat number. But great mod, thanks. |
Anock, like I said before this is a great mod.
I noticed that I have a lot of items in my accessories and the page scrolls down, so I wanted to put this in a 3 column format, so I changed the subaccessdiag.tpl file to show in 3 columns, below is my code. The completed page you can see at http://www.shisha.co.uk/shopcart/product.php?productid=16137&cat=265&page=1 Code:
{capture name=dialogacc} All I did was to change the top part for the table and the bottom part: Top Part: Code:
{ if %product.first% } Bottom Part: Code:
</TD> I use this change on a few of my templates to make it a 3 column view. You can also change this to a 2 column view by changing the {if $smarty.section.product.index is div by 3} to {if $smarty.section.product.index is div by 2} |
ShishaPipeUK,
Great work! I am glad the mod is working out well for your site. P.S. Great website! Too bad I don't live in the UK :D |
All times are GMT -8. The time now is 05:18 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.