Skip to main content

Product display page

More
12 years 3 months ago #161753 by Blatherwick
Replied by Blatherwick on topic Product display page
That has worked for the first product but now all the other products have £0 for both prices

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

More
12 years 3 months ago #161919 by Blatherwick
Replied by Blatherwick on topic Product display page
I have removed a line of the code Xavier so it looks like this:
Code:
<?php if($this->params->get('show_price','-1')=='-1'){ $config =& hikashop_config(); $this->params->set('show_price',$config->get('show_price')); } if($this->params->get('show_price')){ ?> <td class="hikashop_product_price_row"> <?php $prodClass = hikashop_get('class.product'); $prodClass->getProducts($this->row->product_id); echo $this->currencyHelper->format(@$prodClass->products[1]->prices[1]->price_value,4); ?> </td>

That has enabled all the original prices to return.

The first product has the second price (price per week) displaying correctly however all the other products in the product list has the price per week (second price) displaying £0.

Please help!

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

More
12 years 3 months ago #161921 by Xavier
Replied by Xavier on topic Product display page
Hi,

We generally don't support customizations, but thanks to give me a backend access in order to make it work.
It will be faster this way. Don't forget to put the link to this topic in the private message.

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

More
12 years 3 months ago #162079 by Blatherwick
Replied by Blatherwick on topic Product display page
Brilliant thank you.

It's currently only on wamp but il stick it online tomorrow afternoon and send you the details.

Much appreciated

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

More
12 years 3 months ago #162465 by Blatherwick
Replied by Blatherwick on topic Product display page
Hey, I'm still stuck if anybody has any ideas please???

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

More
12 years 3 months ago #162468 by Xavier
Replied by Xavier on topic Product display page
Hi,

Sorry but we can't use a zip file to install a copy of the website etc.
Once you have a host and credentials to provide, so we will be able to give you more informations.

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

More
12 years 2 months ago #163682 by RWouters
Hi,

It seems that i have the same problem regarding showing additional fields / values in a product/list/table.
I tried the solution you suggested but the results were values (0).
I have included some background snapshots to give you somewhat inside info.

Really hope you can help me further
thanks
Richard

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

More
12 years 2 months ago #163706 by Xavier

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

More
12 years 1 month ago #166553 by Blatherwick
Morning, I have sent you a private message Xavier with the details you requested.

Please help!

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

More
12 years 1 month ago #166569 by nicolas
Hi,

Xavier is in holiday until next week. Please either send it to me or wait until then.

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

More
12 years 1 month ago #166741 by Blatherwick
Brilliant yes i will send you it in a private message straight away

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

More
12 years 1 month ago #166760 by nicolas
The line:
Code:
echo $this->currencyHelper->format(@$prodClass->products[1]->prices[1]->price_value,4);
should actually be changed to:
Code:
echo $this->currencyHelper->format(@$prodClass->products[$this->row->product_id]->prices[1]->price_value,4);
The following user(s) said Thank You: Blatherwick

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

More
12 years 1 month ago #166766 by Blatherwick
Amazing!

Thank you very much, I can now sleep soundly!

Really appreciate it

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

Time to create page: 0.242 seconds
Powered by Kunena Forum