Request for "Cart Attributes for Simple Products" plugin (HikaShop Business 6.0.

  • Posts: 2
  • Thank you received: 0
  • Hikashop Business
1 week 1 day ago #367622

-- url of the page with the problem -- : maviorb.com/index.php/hikashop-menu-for-brands-listing/checkout
-- HikaShop version -- : 6.0.00
-- Joomla version -- : 5.3.1
-- PHP version -- : 8

Hi HikaShop team,

I am using HikaShop Business 6.0.0 and I would like to request the latest version of the Cart Attributes for Simple Products plugin.

I need to display Item Custom Fields (Cart Attributes) per product line in the cart (not in Additional Information).

Could you please send me the latest version compatible with Business 6.0.0?

Thank you very much!

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

  • Posts: 83997
  • Thank you received: 13611
  • MODERATOR
1 week 1 day ago #367623

Hi,

There is no plugin called "Cart Attributes for Simple Products" for HikaShop.

Custom fields can be created via the menu Display>Custom fields. They will appear on the product page so that the customer can fill them before adding the product to the cart. Once the product is in the cart, the value entered in each field will appear in the cart below the product name. You just need to make sure the display settings of the custom field are properly turned on.

Now, if you have difficulties with setting up custom fields, I can help you. Please provide more information on what you're trying to achieve and I'll be able to tell you what to do in more details.

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

  • Posts: 2
  • Thank you received: 0
  • Hikashop Business
1 week 1 day ago #367626

Hi Nicolas,

Basically Im try to pass an image url reference from a specific button to ADD CART, and show that image in the cart. But since the image is dynamically created, we only have the URL as a reference. Can you help me on that. ( I was using chatGPT haha to help me but the custom field appears a text field in Additional Information instead of a column next to the price and it doesn't show the actual photo.

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

  • Posts: 83997
  • Thank you received: 13611
  • MODERATOR
1 week 1 day ago #367631

Hi,

You want to create a custom field of the table "item" and of the type "text".
That way, the customer can enter the URL in that custom field.
Then, if you try this, you'll see that you only get the URL displayed in the cart after the add to cart.
To get the image displayed, you'll want to change the setting "Format" of the custom field. Instead of {value}, you'll want to enter:

<img src="{value}" class="image_class"/>
And you'll see the image instead of the URL in the cart, etc.
You can also make the image clickable:
<a href="{value}" target="_blank"><img src="{value}" class="image_class"/></a>
And you can use the class image_class to add custom CSS to your website to force the size of the image, etc so that it fits with your website design.

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

Time to create page: 0.064 seconds
Powered by Kunena Forum