- Posts: 56
- Thank you received: 1
Display characteristics with price together in table form
3 years 5 months ago #351845
by jiawen
Display characteristics with price together in table form was created by jiawen
Please Log in or Create an account to join the conversation.
3 years 5 months ago - 3 years 5 months ago #351847
by Philip
Replied by Philip on topic Display characteristics with price together in table form
Last edit: 3 years 5 months ago by Philip.
Please Log in or Create an account to join the conversation.
3 years 5 months ago #351854
by jiawen
Replied by jiawen on topic Display characteristics with price together in table form
Have set prices for each variant, but did not display the price in the table.
Please Log in or Create an account to join the conversation.
3 years 5 months ago #351858
by jiawen
Replied by jiawen on topic Display characteristics with price together in table form
Or is there any way to display the unit price and total price for each quantity variant?
Please Log in or Create an account to join the conversation.
3 years 5 months ago - 3 years 5 months ago #351856
by nicolas
Replied by nicolas on topic Display characteristics with price together in table form
Hi,
In the HikaShop onfiguration, under the "Display" tab, please check that the "Display price" setting is turned on. Otherwise, the prices column won't appear there.
Also, it could happen if you set some restrictions in the prices, like a special "access" or an end date in the past.
Now, it's always possible to add extra columns in that table by editing the file product / show_block_characteristic via the menu Display>Views. But it requires some coding skills.
In the HikaShop onfiguration, under the "Display" tab, please check that the "Display price" setting is turned on. Otherwise, the prices column won't appear there.
Also, it could happen if you set some restrictions in the prices, like a special "access" or an end date in the past.
Now, it's always possible to add extra columns in that table by editing the file product / show_block_characteristic via the menu Display>Views. But it requires some coding skills.
Last edit: 3 years 5 months ago by nicolas.
Please Log in or Create an account to join the conversation.
3 years 5 months ago #352041
by jiawen
Replied by jiawen on topic Display characteristics with price together in table form
Please Log in or Create an account to join the conversation.
3 years 5 months ago #352042
by nicolas
Replied by nicolas on topic Display characteristics with price together in table form
Hi,
If you change the "Add to cart on listings" setting to "global" in the HikaShop configuration, you can get one global add to cart button at the bottom of the variants list.
Then, with a bit of javascript customization in the product / show_block_characteristic view file, you can make it so that when the customer clicks on a row of the table, it adds a specific class to the row and set its quantity to 1 and the quantity of the others to 0, and then with some CSS customization, you can have the row with the specific class stand out as selected, and hide the quantity input field column from the view of the user. A bit of PHP customization there would also allow you to add the price per unit column in that same view file.
So it's possible but it will require a bit of custom development by a developer to do this.
If you change the "Add to cart on listings" setting to "global" in the HikaShop configuration, you can get one global add to cart button at the bottom of the variants list.
Then, with a bit of javascript customization in the product / show_block_characteristic view file, you can make it so that when the customer clicks on a row of the table, it adds a specific class to the row and set its quantity to 1 and the quantity of the others to 0, and then with some CSS customization, you can have the row with the specific class stand out as selected, and hide the quantity input field column from the view of the user. A bit of PHP customization there would also allow you to add the price per unit column in that same view file.
So it's possible but it will require a bit of custom development by a developer to do this.
Please Log in or Create an account to join the conversation.
Time to create page: 0.659 seconds