display the essential properties of a product in the last step of checkout

  • Posts: 21
  • Thank you received: 1
4 years 5 months ago #320189

-- HikaShop version -- : 4.3.0
-- Joomla version -- : Joomla! 3.9.19
-- PHP version -- : 7.2.30
-- Browser(s) name and version -- : Firefox 76.0.1

Is it possible to display the essential properties of a product in the shopping cart in the last step of the checkout ?
e.g .: for a wristwatch: gender, watch strap, waterproof, type of case..

The specification of the "essential properties of the goods" or services are a legal obligation to provide information in Austria.
(§ 4 Abs 1 FAGG)

This Information - the "Product-Description" - should also be displayed for the customer in in the Cart at the last step of the checkout befor klicking the "CHECKOUT_BUTTON_FINISH"

Only a Link to the product-details by klicking on the Produktname in the Cart ist perhaps not clear enough for Customers

Kind regards

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
4 years 5 months ago #320192

Hi,

If you add these properties of your products as custom fields of the table "product", in the settings of the custom field, you can activate the display of the custom field on the checkout and in that case it will display in the cart area of the checkout automatically for you.
Otherwise, if that information is in the description of the product, then you'll have to edit the file show_block_cart.php via the menu Display>Views.
Search for the the text "produt_name" to get the line of code which displays the product name and copy and adapt it below to display the produt_description .

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

  • Posts: 21
  • Thank you received: 1
4 years 5 months ago #320317

OK I added these properties as custom fields of the table "product",
and I activated the display of the custom field on the checkout.
Properties are now displayd in the cart area of the checkout on SCREEN
(with some CSS-Hacks) among themselves, because i have at least 7 properties

Is it possible to display these properties in the emails also among themselves
and not side by side like {LINEVAR:CUSTOMFIELD_VALUE}
I tried to use {LINEVAR:product.XXX} with 'XXX' is the custom field column name,
but nothing is displayed in the email (ORDER_CREATION_NOTIFICATION_SUBJECT)

please help (e.g. with a little example)

Kind regards

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
4 years 5 months ago #320325

Hi,

Yes. In that case, you want to turn off the display of the custom field in the email (with the settings of the custom field), and then indeed use such {LINEVAR:product.XXX} tag in the HTML of the email to add that custom field value.
What you describe should work, so I'm thinking you did an error somewhere.
Could you provide a screenshot of the settings of that custom field, and a screenshot of the area where you did the modification to add the tag in the email edition page ? That way, we'll be able to better understand the situation and see if you missed anything.

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

  • Posts: 21
  • Thank you received: 1
4 years 5 months ago #320380

Yes {LINEVAR: product.XXX} works if you discover that 'XXX' - custom field column name should only be inserted in lower case. :-)

But since I have different product types with different characteristics types, I now collect the different characteristics for each product in a single custom field created for this. Then I do not need to change the design (HTML, CSS or even the Preload version) of the emails and invoice.

Thank you for the many possibilities that Hikashop offers
Kind regards

The following user(s) said Thank You: nicolas

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

Time to create page: 0.062 seconds
Powered by Kunena Forum