[SOLVED]Characteristics and quantity selection box

  • Posts: 332
  • Thank you received: 6
10 years 11 months ago #136326

-- url of the page with the problem -- : RealListOutfitters.com
-- HikaShop version -- : HikaShop Starter 2.2.3
-- Joomla version -- : Joomla! 2.5.16 Stable
-- PHP version -- :5.3.27
-- Browser(s) name and version -- : Firefox 25.0
-- Error-message(debug-mod must be tuned on) -- : No Error message

I have a product that has both color and size characteristics.

There is a price difference:
$20 - Small,Medium,Large and X-Large
$25 - 2X-Large, 3X-Large and 4X-Large

I clicked the Manage variants button and modified all of the 2X-Large, 3X-Large and 4X-Large variations to mark those as $25 which works just fine. I did not change any of the Small, Medium, Large or X-Large variants.

However, in displaying the different combinations, I have this problem:

All colors w/Small, Medium, Large - Quantity Selection Box is not displayed
All colors w/X-Large, 2X-Large, 3X-Large and 4X-Large - Quantity Select Box is displayed

Notice that although I did not modify any of the variants for Small, Medium, Large and X-Large, the X-Large does display the Quantity Select Box whereas the Small, Medium and Large do not.

Here is the product display problem:



Here is the main product page:



Here is one of the variant pages that I modified:



Now it was my understanding that if there was no price difference, then you did not have to modify any of the variants that had the same price as the main product page as it would be the default.

The 'real' confusion was why the 'X-Large' displays just fine but the 'Small, Medium and Large' do not.

So I edited the variant records for all colors for 'Small, Medium, Large, X-Large' and now the quantity selection box appears.

However, I thought that any variants that are not modified default to the mail product settings. Am I wrong?

Last edit: 10 years 11 months ago by LukeDouglas.

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
10 years 11 months ago #136400

Hi,
I just tested it on my end and it seems to be working fine, can you :
1. show me some screenshots of how did you configured of your Small/Medium/Large variant ?
2. give me a link the page where you are having you issue ?
3. tell me if you've done some view's customization through "Hikashop->Display->Views" ?

Please Log in or Create an account to join the conversation.

  • Posts: 332
  • Thank you received: 6
10 years 11 months ago #136435

Mohamed,

I didn't do any customization of "Hikashop > Displaiy > Views".

I resolved the issue by simply editing each one of the 'Small / Medium / Large' variants to list the price.

My question really is since I did not edit any of the 'Small / Medium / Large / X-Large' variants for pricing as I 'assumed' it would pick-up the main product information as the default, why did the 'X-Large' display the quantity selection box yet the 'Small / Medium / Large' did not? I can understand the logic for why you have to edit the '2X-Large / 3X-Large / 4X-Large' sizes as they have different pricing of $25. I was just confused why one of the variants that I did not edit the variants showed the quantity selection box yet the other 3 did not. FYI, all of the non-modified variants 'Small / Medium / Large / X-Large' did display the 'default' main product pricing of $20.

Last edit: 10 years 11 months ago by LukeDouglas.

Please Log in or Create an account to join the conversation.

  • Posts: 82908
  • Thank you received: 13378
  • MODERATOR
10 years 11 months ago #136550

As Mohamed said, what you're describing does not happen on our end. If you don't set any price for a variant, the main product price is automatically picked up by the variant. So I don't know why that would happen.

Please Log in or Create an account to join the conversation.

  • Posts: 332
  • Thank you received: 6
10 years 11 months ago #136554

Nicholas,

I believe there is a bit of confusion here. There is 'nothing' wrong with the pricing. The problem is with the Quantity selection box not showing up 'unless' you set the price in the variant. Now I don't know why this happens but it does.

So to review, I have a product with two level pricing.

$20 - Small, Medium, Large, X-Large
$25 - 2X-Large, 3X-Large, 4X-Large

The main product is set to $20. I edit the variants for the 2X-Large, 3X-Large and 4X-Large to set the price to $25. The price 'does' change with each size and for each color. So there is no issue with the price.

The problem is that the quantity selection box does not appear on 'Small, Medium, Large' items. It 'does' on 'X-Large' and as I indicated, I have not made any changes to the variants for 'Small, Medium, Large, X-Large' at all. Yet the 'X-Large' quantity selection box shows up but not for 'Small, Medium, Large'.

Once I edit the 'Small, Medium, Large' variants, the Quantity selection box shows up.

That was my issue. I solved it by just editing 'all' variants but I believe it should be showing the 'quantity selection' box on all of them no matter if the variants are edited for pricing or not. Quantity should not be missing.

Just my two cents.

Please Log in or Create an account to join the conversation.

  • Posts: 82908
  • Thank you received: 13378
  • MODERATOR
10 years 11 months ago #136572

That's probably because you have the option "Display add to cart button for free products" turned off in the configuration. As the variants don't have a price and that option is off, the add to cart button is not displayed

Please Log in or Create an account to join the conversation.

  • Posts: 332
  • Thank you received: 6
10 years 11 months ago #136587

Nicholas,

So let me get this straight. The option to display the 'Add to Cart' button for 'free' items determines if the 'quantity selection box' is displayed for variants when there has been no changes to the variant records and the system defaults to the options selected on the main product page? Is this correct?

Please Log in or Create an account to join the conversation.

  • Posts: 82908
  • Thank you received: 13378
  • MODERATOR
10 years 11 months ago #136618

I don't know. I don't have the issue on our end. I'm just proposing a potential solution.

Please Log in or Create an account to join the conversation.

  • Posts: 332
  • Thank you received: 6
10 years 11 months ago #136624

Nick,

OK. At least I know how I can achieve what I want to do so that is the important thing. :woohoo:

Please Log in or Create an account to join the conversation.

Time to create page: 0.081 seconds
Powered by Kunena Forum