Page 1 of 1

Price Variations in Feed XML

Posted: 24 Nov 2022, 11:56
by Robx61
Good morning. I have a new problem with XML Feeds. I solved the problem of product variables by inserting "param" in the entries concerning the attributes. Now the new problem concerns the price changes that accompany the attributes. I have a stable starting price that I recall with "price" and "vat" for sales taxes but I don't know how to show the overpriced of the variables ... Ex: Id 0001 param A - price = 1.00 ... id 0001 param B - price = +0.50 ... id 0001 param C - price = +1.00 etc etc ... I don't need it to be calculated as it happens in the shopping cart price. I need the XML Feed to show it as it shows the product variables ... Is there anyone who solved it?

Thanks to all those who will be able to give me useful advice ... :) :) :)
Roberto

Re: Price Variations in Feed XML

Posted: 24 Nov 2022, 13:32
by Jan
Hi, there is no set to display the price for attributes, but it can be customized.

The output file is stored here:
components/com_phocacart/views/feed/tmpl/default.php

and can be overriden by template, starting on line 305:

Image

the $attributes varible holds all needed values.

Jan