| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Showing Accessories for Product(s) | ||||
|
|
Thread Tools | Search this Thread |
#21
|
|||||||||
|
|||||||||
That will be very gratefull if you could modify it.
Thanks
__________________
X-Cart Gold 4.3.2 X-Cart Gold 4.4.1 Unix High Quality CCTV DVRs & Cameras http://www.eaglemobiles.co.uk/CCTV |
|||||||||
#22
|
|||||||
|
|||||||
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 |
|||||||
#23
|
|||||||||
|
|||||||||
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,
__________________
X-Cart: 4.0.13 [Linux] |
|||||||||
#24
|
|||||||
|
|||||||
any news on whether this could work on 4.14?
__________________
xcart version 4.1.6 UK - Brighton QVS ELECTRICAL SUPPLIES - http://www.qvsdirect.com We supply a huge range of cables, electrical accessories, heating, ventilation, fire and security products, consumer units & circuit distribution, indoor and outdoor lighting, showers and water heating, tools and fixings, timer switches, sockets, switches, air conditioning, trunking, and much much more. |
|||||||
#25
|
|||||||
|
|||||||
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
__________________
xcart version 4.1.6 UK - Brighton QVS ELECTRICAL SUPPLIES - http://www.qvsdirect.com We supply a huge range of cables, electrical accessories, heating, ventilation, fire and security products, consumer units & circuit distribution, indoor and outdoor lighting, showers and water heating, tools and fixings, timer switches, sockets, switches, air conditioning, trunking, and much much more. |
|||||||
#26
|
|||||||||
|
|||||||||
QVS,
Make sure Code:
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:
Refresh the product page and tell me what it says under "SQL Host".
__________________
X-Cart: 4.0.13 [Linux] |
|||||||||
#27
|
|||||||||
|
|||||||||
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:
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:
__________________
Apache/2.0.55 (Red Hat) & MYSQL Server: 5.0.24 PERL: 5.008005 / PHP: 4.4.4 - 4.3.1 X-CART Shop carts at http://www.nightscene.co.uk/shop/home.php http://www.theshisha.net/shopcart/home.php http://www.system-maintenance.com/maint/home.php http://www.tabac4u.com |
|||||||||
#28
|
|||||||||
|
|||||||||
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.
__________________
Apache/2.0.55 (Red Hat) & MYSQL Server: 5.0.24 PERL: 5.008005 / PHP: 4.4.4 - 4.3.1 X-CART Shop carts at http://www.nightscene.co.uk/shop/home.php http://www.theshisha.net/shopcart/home.php http://www.system-maintenance.com/maint/home.php http://www.tabac4u.com |
|||||||||
#29
|
|||||||||
|
|||||||||
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:
All I did was to change the top part for the table and the bottom part: Top Part: Code:
Bottom Part: Code:
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}
__________________
Apache/2.0.55 (Red Hat) & MYSQL Server: 5.0.24 PERL: 5.008005 / PHP: 4.4.4 - 4.3.1 X-CART Shop carts at http://www.nightscene.co.uk/shop/home.php http://www.theshisha.net/shopcart/home.php http://www.system-maintenance.com/maint/home.php http://www.tabac4u.com |
|||||||||
#30
|
|||||||||
|
|||||||||
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
__________________
X-Cart: 4.0.13 [Linux] |
|||||||||
|
|||
X-Cart forums © 2001-2020
|