Its possible show hikashop product detail page in jrevews listing detail page?

  • Posts: 23
  • Thank you received: 2
19 hours 2 minutes ago #370702

Its possible show hikashop product detail page in jrevews listing detail page? jreviews component using articles for listings, so maybe question is if its possible to show hikashop product detail page in joomla articles?

Last edit: 19 hours 2 minutes ago by jokysax.

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

  • Posts: 85223
  • Thank you received: 13910
  • MODERATOR
14 hours 17 minutes ago #370704

Hi,

Yes, you can display HikaShop products inside Joomla articles using the "System - HikaShop Product Insert" plugin. Since JReviews uses standard Joomla articles for its listings, this should work within your JReviews listing detail pages.

The easiest way to insert a product is to use the "Product" button displayed below the article editor when creating or editing a Joomla article. It opens a popup where you can select the product and the display options you want, and it will automatically generate the tag for you.

The syntax of the tag is:

{product}PRODUCT_ID{/product} or {product PRODUCT_ID}

Where PRODUCT_ID is the numeric ID of the product you want to display.

You can control what elements are displayed by adding options separated by |. The available options are:

- name : product name
- picture : product image
- price : product price (uses default configuration)
- pricetax1 : price with tax
- pricetax2 : price without tax
- pricedis1 : show discount
- description : product description
- cart : add to cart button
- quantityfield : quantity input field
- link : make elements clickable to the product page
- border : add a border around the product
- badge : show product badges
- menuid:XX : use a specific menu item ID for the product link

For example, to display a product with its name, image, price and an add to cart button:

{product}123|name|picture|price|cart|link{/product}

Make sure the "System - HikaShop Product Insert" plugin is enabled in your Joomla plugin manager (Extensions > Plugins).

Note that this displays a product summary (listing style), not the full product detail page. The view template can be customized by copying the file plugins/system/hikashopproductinsert/hikashopproductinsert_view.php to your Joomla template folder under templates/YOUR_TEMPLATE/system/hikashopproductinsert_view.php.

You can find more details in our documentation: www.hikashop.com/support/documentation/1...-product-insert.html

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

Time to create page: 0.066 seconds
Powered by Kunena Forum