| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Related Products Clone? | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hi everyone,
I'm attempting to create a new module that is basically a copy of the related products feature and call it Required Accessories. I want it to have the same functionality and work side by side with my current related products module. I'm pretty new to php coding and such, but I just can't seem to figure out what exactly needs to be changed. So far I've been able to create a copy of the upselling function, but if I do any sort of editing I can't even get it to display. Any help would be greatly appreciated, thank you!
__________________
X-Cart Gold 4.1.10 www.oldworlddistributors.com - Live Store www.coppercakestands.com - Live Store -- My Website - www.frodesigns.com |
|||||||
#2
|
|||||||
|
|||||||
![]() Can someone at least point me in what direction I need to go to make this section have it's own data set instead of using the one from related products?
__________________
X-Cart Gold 4.1.10 www.oldworlddistributors.com - Live Store www.coppercakestands.com - Live Store -- My Website - www.frodesigns.com |
|||||||
#3
|
|||||||
|
|||||||
![]() why not post what you have already and I'm sure people will jump all over it eah?
![]()
__________________
xCart Pro Version 4.0.17, 4.0.19, 4.1.8, 4.1.10, 4.1.11, 4.1.12 - retired xCart Pro Version 4.3.1 - production xCart Pro Version 4.5.1 - testing RHEL Platform |
|||||||
#4
|
|||||||
|
|||||||
![]() all i have so far is an exact copy of the upsellingproducts module renamed to required accessories. if i try to go any further with it i always hit a dead end.
__________________
X-Cart Gold 4.1.10 www.oldworlddistributors.com - Live Store www.coppercakestands.com - Live Store -- My Website - www.frodesigns.com |
|||||||
#5
|
|||||||||
|
|||||||||
![]() Upselling Links (Related Products) uses both templates and PHP. Are you saying that you cloned both and named them "required_accessories.php" and "required_accessories.tpl? Besides that you will need to change (or duplicate) the references to "related products" wherever you want the "required accessories" to appear, in product.tpl for example. Also, since they are "required" you need some method of "forcing" the customer to buy them. Are you sure you would be better off making your "required accessories" options of the product? It just seems simpler to me that way (unless there are dozens of "required" accessories).
__________________
Two Separate X-Cart Stores Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series. Integrated with Stone Edge Order Manager + POS Version 4.1.12 Gold (fresh install) - X-AOM - Linux Mods - XCSEO free |
|||||||||
#6
|
|||||||
|
|||||||
![]() an example of what we have, our site sells roofing parts such as gutters and gutter accessories. gutters require a shipping box and gutter length is specified in the quantity box. so we can't force the shipping box on them in the cart page because it would charge them over and over for the length they choose.
__________________
X-Cart Gold 4.1.10 www.oldworlddistributors.com - Live Store www.coppercakestands.com - Live Store -- My Website - www.frodesigns.com |
|||||||
#7
|
|||||||||
|
|||||||||
![]() Since the gutter is probably "oversize" for normal (UPS, FedEx, etc.) shipping methods you probably use a "freight" carrier, correct? If so, you probably need to look into the "Shipping Charges" section of x-cart and define a rate based on the size and weight of the item. The carrier will probably charge the same for 1 item as 10 because of the size. For instance, USPS will charge 15 Lbs for a 4 Lbs item if the box is over a specified size. I'm sure your carrier probably does the same thing. We don't ship any items that require "freight" shipping so I'm not sure how to go about setting it up, but it should be in the manual. I hope this helps.
__________________
Two Separate X-Cart Stores Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series. Integrated with Stone Edge Order Manager + POS Version 4.1.12 Gold (fresh install) - X-AOM - Linux Mods - XCSEO free |
|||||||||
|
|||
X-Cart forums © 2001-2020
|