Author Topic: defining Quantity  (Read 8997 times)

Offline Elisabete

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
defining Quantity
« on: November 08, 2013, 01:43:33 PM »
Hello everyone, thank you

I have entered in my store a product which the person can only purchase 1 (pack).

But when a person tries to buy, she can define Quantity, even that i stipuleted only 1 for maximun acquisition; despite not advancing to chekout.

But it can shuffle people. Is there any way to remove the option Quantity?

Thanks in advance.

Sorry about my english (I´m Portuguese :))

Offline zoltan

  • Newbie
  • *
  • Posts: 20
  • Karma: +1/-0
  • MAKE SOMETHING AWESOME EVERYDAY.
    • View Profile
    • Business Cards | Full color printing | Custom Design
Re: defining Quantity
« Reply #1 on: November 18, 2013, 05:23:11 PM »
I'm also wondering if you could remove the quantity. I'm selling printed products what comes in quantity of 1000, 2500, 5000 or more.
I can use options for to create a quantity field to define the quantity (1000, 2500, 5000, etc...) but I want to remove the Qty field so it's not too confusing.

Or have the option to pre-define quantity like minimum order 1000 other options 2500, 5000, etc....

Please let me know very happy with the cart, just still learning the tricks and the options.

Offline llegrand

  • Hero Member
  • *****
  • Posts: 1371
  • Karma: +351/-2
    • View Profile
Re: defining Quantity
« Reply #2 on: November 18, 2013, 06:45:10 PM »
I think you might find your solution by using the options functions - here's the documentation link.

http://www.abantecart.com/ecommerce-documentation/31-admin-user-manual/catalog-menu/products#Options%20Tab

You can establish  dropdown or radio buttons for all of your sizes and require your customer to make a selection from one of the sizes. 

So  in an example you have cards  and the options are

1000 pcs
2500 pcs
5000 pcs

On the description your customer see all of the sizes,  clicks on the size they want and then qty makes more sense to them.  1 pak of 1000 size or 2 paks of 1000 size,  etc.

Hope this helps.

Lee
                                             

Offline zoltan

  • Newbie
  • *
  • Posts: 20
  • Karma: +1/-0
  • MAKE SOMETHING AWESOME EVERYDAY.
    • View Profile
    • Business Cards | Full color printing | Custom Design
Re: defining Quantity
« Reply #3 on: January 22, 2014, 10:00:18 AM »
Hi Lee,

Thank you for your reply, yes I have resulted to that resolution myself but I would of find it more neat not to have a confusing "Qty: 1" after you have selected 1000 pieces, but I guess I haveno choice but to live with it for now.

Cheers,

Offline zoltan

  • Newbie
  • *
  • Posts: 20
  • Karma: +1/-0
  • MAKE SOMETHING AWESOME EVERYDAY.
    • View Profile
    • Business Cards | Full color printing | Custom Design
Re: defining Quantity
« Reply #4 on: August 10, 2014, 11:35:46 AM »
I guess there is still no solution to remove the quantity button from the page. see example at chrinaluc and you see what I mean

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 3830
  • Karma: +185/-0
    • View Profile
Re: defining Quantity
« Reply #5 on: August 11, 2014, 04:28:39 AM »
Hi Lee,

Thank you for your reply, yes I have resulted to that resolution myself but I would of find it more neat not to have a confusing "Qty: 1" after you have selected 1000 pieces, but I guess I haveno choice but to live with it for now.

Cheers,

Hello.
You can try to hide quantity on product page using CSS rule visibility: hidden;
Change this file https://github.com/abantecart/abantecart-src/blob/master/public_html/storefront/view/default_html5/template/pages/product/product.tpl
about line 151
Code: [Select]
<div class="input-prepend input-append">to
Code: [Select]
<div class="input-prepend input-append" style="visibility: hidden;">
“Chuck Norris is so amazing.”
― Mother Teresa

Offline zoltan

  • Newbie
  • *
  • Posts: 20
  • Karma: +1/-0
  • MAKE SOMETHING AWESOME EVERYDAY.
    • View Profile
    • Business Cards | Full color printing | Custom Design
Re: defining Quantity
« Reply #6 on: August 20, 2014, 02:24:06 PM »
Finally I have gotten to it and wow Basara you are awesome thank you so much for that, your help was great, really appreciate it. Is there possible to do anything with the empty space that the qty button left?

One more question, if you don't mind.

chrinaluc.ca/index.php?rt=product/product&path=76&product_id=121

Is it possible to move the description from the bottom to the right of the product? How?

yonghan

  • Guest
Re: defining Quantity
« Reply #7 on: August 20, 2014, 09:28:39 PM »
Hello Zoltan,you can move the description from bottom to the right side,still in the tpl page that Basara gave you,please take a look at line starting from line 207 afterwards,those are the codes that render the description and the tabs,and on line 230 :

Code: [Select]
<?php echo $description?>
That is the code that display the description,you just need to move the code to the part that you want it to be shown.Hope it helps. :)


Offline zoltan

  • Newbie
  • *
  • Posts: 20
  • Karma: +1/-0
  • MAKE SOMETHING AWESOME EVERYDAY.
    • View Profile
    • Business Cards | Full color printing | Custom Design
Re: defining Quantity
« Reply #8 on: August 27, 2014, 02:51:49 PM »
Thank you Yonghan I think I didn't explain my self maybe the attached pictures will help.

Currently the product page looks like the before.jpg
I like the page to look like the after.jpg

yonghan

  • Guest
Re: defining Quantity
« Reply #9 on: August 27, 2014, 07:28:01 PM »
Hello there,please make a new thread first and i will help to answer as it would help other people too if they need the same tweak.thanks