*

Hugo

  • ****
  • 186 posts
RSSFeed Price
« on: May 09, 2023, 07:25:28 PM »
How can i display the price in the RSSFeed?

I already tried the following but none of them worked:
echo '<price><![CDATA[', $item['i_price'], ']]></price>', PHP_EOL;
echo '<price><![CDATA[', $item['price'], ']]></price>', PHP_EOL;

echo '<price>', $item['i_price'], '</price>', PHP_EOL;
echo '<price>', $item['price'], '</price>', PHP_EOL;

*

MB Themes

Re: RSSFeed Price
« Reply #1 on: May 12, 2023, 10:39:04 AM »
https://docs.osclasspoint.com/hitems-php
Use osc_format_price function.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Hugo

  • ****
  • 186 posts
Re: RSSFeed Price
« Reply #2 on: May 13, 2023, 03:19:16 PM »
Thank you,

However, I am really sorry and don't know how and where to integrate this; could you help me?

The best i could do was to showcase everywhere 'Check with seller'...

However there are prices (numbers and different currencies filled in.

*

Hugo

  • ****
  • 186 posts
Re: RSSFeed Price
« Reply #3 on: May 13, 2023, 04:29:50 PM »
Input: echo '<price>', osc_format_price($item['price']), '</price>', PHP_EOL;

Gives us >

Output: <price>Check with seller</price>

*

MB Themes

Re: RSSFeed Price
« Reply #4 on: May 15, 2023, 03:09:07 PM »
Means $item['price'] is NULL.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Hugo

  • ****
  • 186 posts
Re: RSSFeed Price
« Reply #5 on: May 15, 2023, 03:20:28 PM »
okay, but real quick, how wold i solve this?

*

MB Themes

Re: RSSFeed Price
« Reply #6 on: May 15, 2023, 03:40:18 PM »
You do not have correct array key
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Hugo

  • ****
  • 186 posts
Re: RSSFeed Price
« Reply #7 on: May 15, 2023, 03:41:19 PM »
okay thank you, can this be solved easily? if yes can you help me please.