Category Product display

  • Posts: 1
  • Thank you received: 0
11 years 11 months ago #77143

Is there a way to add text like 'Starting price at' before the price of products that have options that will increase the price once added?

Again, it would be nice if it were controlled by an on/off trigger, and it would apply to products that have options that increase the price.

Please see the attachment for a mockup.

Thanks,

File Attachment:

File Name: home-photo_links.pdf
File Size:166 KB


Gene

Attachments:

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

  • Posts: 26152
  • Thank you received: 4027
  • MODERATOR
11 years 11 months ago #77268

Hi,

In product listing view, you have know if a product has options or not.
You can read the variable " $this->row->has_options " like the view "quantity" does in order to know if it has to display "choose options" or "add to cart" text.

If you want to be sure that the price between variants changes, you should add some PHP code in the "listing" view in order to load all characteristics data.
The idea would be to loop on all products in $this->rows, store the id of main products (when $row->has_options is true) in an array and after that, make a SQL request in order to load prices for variants.

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.

Time to create page: 0.043 seconds
Powered by Kunena Forum