[SOLVED] Multiple SKU's, weights and prices

  • Posts: 18
  • Thank you received: 0
9 years 9 months ago #223143

-- url of the page with the problem -- : walldorff.be/ybody/yg-black
-- HikaShop version -- : Business 2.6.0
-- Joomla version -- : 3.4.5
-- PHP version -- : 5.4.43
-- Browser(s) name and version -- : Chrome 47.0.2526.73 m / Firefox 42.0

PRODUCTS (simplified):

--------------------------------------------------
SKU	category	Name		Price
--------------------------------------------------
01-10	black	Product_black_10_gram	1,60
01-20	black	Product_black_20_gram	2,75
01-50	black	Product_black_50_gram	4,35
02-10	bronze	Product_bronze_10_gram	1,60
02-20	bronze	Product_bronze_20_gram	2,75
02-50	bronze	Product_bronze_50_gram	4,35

Every product has its own SKU. Currently each product has a seperate record in the products table. This is all normal.
See hikaproduct1.jpg.

Now I want the following:
  • 1 record for "black" with 3 variants/characteristics, each with different SKU, weight and price.
  • 1 record for "bronze" with 3 variants/characteristics, each with different SKU, weight and price.
See hikaproduct2.jpg
[EDIT] The quantitiy fields should be 0 (zero) of course.

Tried with Options and Characteristics. None works.
hikashop.com/forum/product-category-disp...arriants.html#216144
hikashop.com/forum/product-category-disp...and-size.html#221521

Problem:
The Variants-tab in back-end does not respond.
Scanned the forum to solve this.
www.hikashop.com/forum/3-bug-report/1286...c-changed.html#12886

Could use some advise on how to setup Configuration and which files to modify.
Thanks!

Attachments:
Last edit: 9 years 9 months ago by schipperskwartier.

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

  • Posts: 18
  • Thank you received: 0
9 years 9 months ago #223172

So I tried several things.

1. Characteristics.
See images 1.xxx.jpg to 5.xxx.jpg.

  1. Made new characteristics.
  2. Put those into the product.
  3. The Variants tab does not work. I made the adjustment (deletion) in show.php.
  4. View the product in the category view: button: Choose options.
  5. Click on Choose options: there are no options.

2. Options.
See images 6.xxx.jpg to 8.xxx.jpg.
  1. Made new product, no price, only the options - which are full blown products.
  2. View the product in the category view: button: Choose options.
  3. Click on Choose options:
    - I get dropdowns of every option instead of a list. "Characteristics selection method" is set to "List".
    - Cannot choose different quantity per option.
    - The "main" (free) product appears in the view AND in the cart.

I would really like to have exactly this .
Have read the post about this particular question (and much more!), but I can't reproduce the solution.

Thank you very much for your help.

Last edit: 9 years 9 months ago by schipperskwartier.

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

  • Posts: 84306
  • Thank you received: 13701
  • MODERATOR
9 years 9 months ago #223190

Hi,

It's indeed characteristics/variants that you want to use, not options.
After you add the characteristic to the product, you should be able to click on the variants tab title. That will then display the variants listing where you can click on the "add variants" button to add the variants you want to the product. Then, you'll be able to configure each variant with its own SKU, price, etc.

If the issue is that you can't click on the variants tab title, I must say that I've never heard of such problem.
Could you provide a backend access so that we could have a look if that's really the problem ?
You can use our contact form for that. Make sure that you provide a link to this thread.
www.hikashop.com/support/contact-us.html

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

  • Posts: 84306
  • Thank you received: 13701
  • MODERATOR
9 years 9 months ago #223223

Hi,

We got your backend access but we were not able to login. Could you double check that the user account is working ?

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

  • Posts: 18
  • Thank you received: 0
9 years 9 months ago #223242

New login posted in contact form.

Last edit: 9 years 9 months ago by schipperskwartier.

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

  • Posts: 18
  • Thank you received: 0
9 years 9 months ago #223252

There's an error in hikashop.js, line 670:

var l = tabs[k].childNodes[0], lr = l.getAttribute('rel');

Uncaught TypeError: Object #<Text> has no method 'getAttribute'

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

  • Posts: 84306
  • Thank you received: 13701
  • MODERATOR
9 years 9 months ago #223261

Hi,

I've checked your backend. The issue comes from the modifications that you have done in the file "form" of the view "product" for your backend template via the menu Display>Views.
I've deactivated it by renaming the override file administrator/templates/isis/html/com_hikashop/product/form.php to administrator/templates/isis/html/com_hikashop/product/form_old.php and it's working again. So I would recommend to review the changes that you made as that's what broke the view.

The following user(s) said Thank You: schipperskwartier

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

  • Posts: 18
  • Thank you received: 0
9 years 9 months ago #223270

Thank you Nicolas! Egg on my face because I messed up. But I'm glad it's working.

Last edit: 9 years 9 months ago by schipperskwartier.

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

Time to create page: 0.072 seconds
Powered by Kunena Forum