X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (https://forum.x-cart.com/forumdisplay.php?f=20)
-   -   Case Quantities (ie. 12, 24, 36, etc) in quantity pulldown (https://forum.x-cart.com/showthread.php?t=19986)

philrisk 01-24-2012 12:54 AM

Re: Case Quantities (ie. 12, 24, 36, etc) in quantity pulldown
 
Quote:

Originally Posted by pwdesign
OK..I see it now. Thanks! Fashion Mosaic has a very different product_details.tpl. I stitched in the code where I thought it should go, unchecked the Text Box option in Appearance and IT WORKS! Thank you!

However...once the item is added to the cart, the quantity field is a text box again and can be changed to any amount. I unchecked "Allow to update product quantity on the checkout pages" in Apperance and it still shows. Is yours like that as well or do you have a dropdown menu in the cart or no quantity update at all?

Thank you very much!


Hmmm that is a very good point pwdesign. I will have a look at that today to see what the best course of action is.

pwdesign 01-27-2012 05:34 AM

Re: Case Quantities (ie. 12, 24, 36, etc) in quantity pulldown
 
philrisk

Thank you for all your help. Have you been able to think about a solution for the checkout textbox problem?

philrisk 01-27-2012 05:37 AM

Re: Case Quantities (ie. 12, 24, 36, etc) in quantity pulldown
 
Not yet. I'll keep working on it though. Seems the checkout has a lot of script going on in the background checking things which is probably why it was never coded in in the first place.

pwdesign 01-27-2012 05:40 AM

Re: Case Quantities (ie. 12, 24, 36, etc) in quantity pulldown
 
OK, thanks much. I really appreciate it!

pwdesign 03-05-2012 06:09 AM

Re: Case Quantities (ie. 12, 24, 36, etc) in quantity pulldown
 
philrisk

Thanks for your help. We just launched the store last night and we're going to wait and see if anyone figures out that they can change the quantity in the cart. Hopefully not!

If they do, we're going to have to plug that hole. I'm just poking you to see if you were ever able to pursue a solution for this. No worries. I just need to have an idea if something may be coming down the pike or to bite the bullet and go to Qualiteam and have them do the mod. Either way, I appreciate the time you put in to help with this.

Thank you!

Pat

philrisk 03-05-2012 06:22 AM

Re: Case Quantities (ie. 12, 24, 36, etc) in quantity pulldown
 
Sorry I haven't managed to work it out yet. There is so much code involved with that input box on the shopping cart its a nightmare! I think thats why no-one else has figured it out yet either. We are live the same as you and no-one has figured it out yet.

pwdesign 03-05-2012 06:32 AM

Re: Case Quantities (ie. 12, 24, 36, etc) in quantity pulldown
 
No worries. Thanks. We'll see what happens and hope that no one figures it out!

ITVV 05-17-2012 01:43 AM

Re: Case Quantities (ie. 12, 24, 36, etc) in quantity pulldown
 
Hi Guys,

Has anybody managed to get this great mod working in 4.4.5?

Many thanks and kind regards

Nick

philrisk 05-17-2012 01:44 AM

Re: Case Quantities (ie. 12, 24, 36, etc) in quantity pulldown
 
The code is mostly the same so should work fine.

ITVV 05-17-2012 01:48 AM

Re: Case Quantities (ie. 12, 24, 36, etc) in quantity pulldown
 
Hi Phil,

I fail at step 2!

The following code bears no resemblance to the file in 4.4.5:(
Code:

    {if $product.forsale neq "B" or ($product.forsale eq "B" and  $smarty.get.pconf ne "" and $active_modules.Product_Configurator)}
      {if $active_modules.Product_Options ne ""}
        {if ($active_modules.Extra_Fields and $extra_fields) or  ($active_modules.Feature_Comparison and $product.features.options)}
          <tr>
            <td colspan="3" class="poptions-product-separator">&nbsp;</td>
          </tr>
        {/if}
        {include file="modules/Product_Options/customer_options.tpl" disable=$lock_options}
      {/if}
    {/if}


Any ideas please?

Kind regards

Nick


All times are GMT -8. The time now is 11:40 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.