"Preview" for added products?

  • Posts: 2143
  • Thank you received: 747
10 years 5 months ago #158442

Hi,

Maybe one more for your medium to long-term to-do:

I'd find it nice and very helpful if the vendor could preview the (shop) product page while or after adding a new product. Not only but especially if the site owner/admin/main vendor requires approval before it's getting published.
Guess it'd be cool if it were a button in the toolbar or at the bottom of the product/form.php.

Thanks for consideration!


Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )

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

  • Posts: 26156
  • Thank you received: 4028
  • MODERATOR
10 years 5 months ago #158453

Hi,

We have something quite similar in our TODO list.
Thanks for the idea, it will complete our list.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: lousyfool

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

  • Posts: 99
  • Thank you received: 0
6 years 8 months ago #289585

Hi,

Any update about it ?
Is it possible for the vendor to see the product page and not just to edit it by clicking anywhere (on the title, image...) from the "Vendor product listing"?

Thanks,

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

  • Posts: 26156
  • Thank you received: 4028
  • MODERATOR
6 years 8 months ago #289590

Hello,

We made some improvements in the approval system in the past years but there is still not that advanced feature. We focused on other requested feature.

Now regarding the dynamic edition via the product page ; I'm afraid that is not something that HikaMarket can do as an add-on since the product page is displayed by HikaShop and is a highly customized part of stores.
If you want to do so, it would require an important custom development in order to have an HikaShop product page which can have a specific behavior when the vendor is logged and let him access to specific part of the edition system.
With time everything is possible but that kind of feature would require a really important development. Even bigger than the lousyfool feature request.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 99
  • Thank you received: 0
6 years 8 months ago #289666

Hello,

Ok, I should've said that I'm looking just for the VIEW not the PREVIEW, my bad.
lousyfool : "I'd find it nice and very helpful if the vendor could preview the (shop) product page while or after adding a new product"
What I am looking for is not the preview but just the view from the Vendor product listing.

When a vendor add a product via the menu "Vendor product add"
When Save, he is redirected to the "Vendor product listing"
From HERE I would like the vendor to be able to open the product page he just added: ...site.com/component/hikashop/id-product-name
It could be with a new column with a picto like an eye or just "View"... Example:


Because if I click on the title or the image, it's only to EDIT the product.

The only way I found is to add another menu "Vendor page" from where the vendor can open (not edit) the product pages...

Regards,

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

  • Posts: 26156
  • Thank you received: 4028
  • MODERATOR
6 years 8 months ago #289682

Hello,

If you want to add a link to the product page in the vendor product listing ; it's something you can do via a view override.
Thanks to the " hikashop_contentLink " function, you can generate a link to the HikaShop product page (using the canonical or the most appropriate menu). That function is mostly used in the HikaShop product listing views.
Having the right product link (using the appropriate menu) will give the best display ; if you get a link without a menu, the template might not be display the page as the customer are seeing it (no modules, etc).

www.hikashop.com/support/documentation/1...-display.html#layout

And we will keep your suggestion in mind for future improvements.
Maybe not with the same design that you have but maybe with a small icon near the product name.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 99
  • Thank you received: 0
6 years 7 months ago #291176

Hello,

I'm coming back on this topic because this is something I think useful and I would need it very soon.
Can you please give me more details about how to find the " hikashop_contentLink" function ? What view, file and line in the php code ?
And then where to copy the code to have the link next to the title like you said ?

Yes ofcourse the design I proposed was just to show you the idea, it's ugly.

Thanks,

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

  • Posts: 26156
  • Thank you received: 4028
  • MODERATOR
6 years 7 months ago #291177

Hello,

That function is from the HikaShop helper file ; it's a core function.
If you want more details about it, you can perform some search in the forum and open a new thread if you do have more questions.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 99
  • Thank you received: 0
6 years 7 months ago #291618

Hello,

Almost done,
It's in the file HikaMarket - productmarket / listing.php

I added the code:

<a href="<?php
            $link = hikashop_contentLink('product&task=show&cid=' . $product->product_id . '&name=' . $product->alias . '&Itemid=371', $product);
echo $link;?>" >Link</a>

Please, what is the parameter to add the title (product name) right after the id ? I have the correct url except the title of the product at the end :
...com/homemade/199-
complete url: ...com/homemade/199-blablabla

Best regards,

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

  • Posts: 26156
  • Thank you received: 4028
  • MODERATOR
6 years 7 months ago #291624

Hello,

To generate the "alias", you need to call the "addAlias" function of the HikaShop product class.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: ChristopheMG

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

Moderators: Obsidev
Time to create page: 0.084 seconds
Powered by Kunena Forum