Price Variations in Feed XML

Phoca Cart - complex e-commerce extension
User avatar
Robx61
Phoca Enthusiast
Phoca Enthusiast
Posts: 51
Joined: 29 Dec 2021, 14:12

Price Variations in Feed XML

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 45847
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Price Variations in Feed XML

Post 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
If you find Phoca extensions useful, please support the project
Post Reply