| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Case Quantities (ie. 12, 24, 36, etc) in quantity pulldown | ||||
|
|
Thread Tools | Search this Thread |
#11
|
|||||||
|
|||||||
Re: Case Quantities (ie. 12, 24, 36, etc) in quantity pulldown
I need something very similar to this. If I have the min. order amount set to 2 I need the quantity to increment by 2s.
Any help with modifying this?
__________________
X-Cart Gold various versions Tahoe Web Design WebsiteCM.com - We recommend WebsiteCM |
|||||||
#12
|
|||||||
|
|||||||
Re: Case Quantities (ie. 12, 24, 36, etc) in quantity pulldown
I have this code running on my site I can sell it for $35. I have also PM you the link for demo.
Thanks
__________________
Current version: 4.1.5 Centos 4x |
|||||||
#13
|
|||||||
|
|||||||
Re: Case Quantities (ie. 12, 24, 36, etc) in quantity pulldown
Hi
I started making this mod to my cart (4.1.5) but had to stop at the step where you modify the javascript. It looks like it has been moved and substantially changed in 4.1. Has anyone gotten this to work in their cart? Thanks
__________________
X-Cart Gold 4.1 |
|||||||
#14
|
|||||||
|
|||||||
Re: Case Quantities (ie. 12, 24, 36, etc) in quantity pulldown
I am running X-Cart version 4.1.6.
I was following gfiebich's instrusctions until I came to: "6. Open modules/Product_Options/check_options.tpl and find..." The code section mentioned is missing from check_options.tpl in the version of X-Cart that I'm running. Can anyone post a modification for version 4.1.6 please? Thanks
__________________
D.G. X-Cart Gold 4.1.6 |
|||||||
#15
|
|||||||
|
|||||||
Re: Case Quantities (ie. 12, 24, 36, etc) in quantity pulldown
Seamless. Worked well.
Now, how can I pass that same variable to the buy_now.tpl so it displays the same quantity drop down on the products pages. Right now in buy_now.tpl, I just have: {section name=quantity loop=$mq start=$start_quantity step=12} But I'd like to get it to pass the CaseSize variable instead of having it hard-coded. Just not sure what i need to do to make $case_size usable in that spot.
__________________
Version 4.0.17 |
|||||||
#16
|
|||||||||
|
|||||||||
Re: Case Quantities (ie. 12, 24, 36, etc) in quantity pulldown
Quote:
Looks like all of the steps work fine for 4.1 and you can skip step 6. It doesn't appear to be needed but I may be missing something. |
|||||||||
#17
|
|||||||||
|
|||||||||
Re: Case Quantities (ie. 12, 24, 36, etc) in quantity pulldown
Quote:
This may be difficult with 4.0 since Extra Fields are not available in the product listings. However, they are available in 4.1. |
|||||||||
#18
|
|||||||
|
|||||||
Re: Case Quantities (ie. 12, 24, 36, etc) in quantity pulldown
Quote:
Hey I had just started working on a module like this until I found this thread. I had the same problem though when I hit the last step until I looked at the bottom of the page and noticed that they have just seperated the java from the rest of the code. So the last step for 4.1.8 (maybe the whole 4.1.x branch) should be 6. Open modules/Product_Options/func.js and find Code:
and replace it with Code:
I've gotten this working fine (I think) with dynamic images too so if you have questions about doing it with that program feel free to ask me and I'll try to help you through. I need to confess though that I don't know javascript though so if anyone can confirm what I've done here I'd love to know I'm not screwing things up :p Also I think these forums should setup some way to monetarily thank people for awesome modules like this! I know people are just sharing some knowledge which is really really awesome, but I'd love it if I could give a few bucks at least to thank people like gfiebich for saving me tons of time
__________________
Version 4.1.8 |
|||||||
#19
|
|||||||
|
|||||||
Re: Case Quantities (ie. 12, 24, 36, etc) in quantity pulldown
I'm also working on a modification to this so that i can specify minimum quantities for wholesale customers only. So for example I have bookmarks that a normal customer can buy 1 at a time but wholesale need to buy at least 6. I'll update with any progress I make with this.
__________________
Version 4.1.8 |
|||||||
#20
|
|||||||
|
|||||||
Re: Case Quantities (ie. 12, 24, 36, etc) in quantity pulldown
Alright, now again please realize I've only been working with PHP for a little bit here and everything I know I've taught myself. So if anyone good could make sure I'm not screwing stuff up that would be great.
Anyway my problem as I listed in my last post is that I needed certain products such as bookmarks to be purchased in certain quantities by wholesale members while regular users needed to be able to purchase whatever amount they wanted. We start with what gfiebich posted but with my modifications for the 4.1.8 ver (maybe the whole 4.1.x branch).
To add in the functionality so that certain products such as bookmarks to be purchased in certain quantities by wholesale members while regular users needed to be able to purchase whatever amount they wanted.
This isn't fully finished. I'd like to change the starting # from "0" to something I have defined in an extra field. I'm sort of figuring out how to do this.
__________________
Version 4.1.8 |
|||||||
|
|||
X-Cart forums © 2001-2020
|