\CountryPrice_CopyPrices
a class to copy prices from country A to country This can be added to Products, but also to Product Groups and other pages ...
Synopsis
class CountryPrice_CopyPrices
extends DataExtension
{
- // members
- private static array $db = ;
- // methods
- public void updateCMSFields()
- public void updatePrices()
- public array getUpdatePriceValues()
Hierarchy
Extends
- DataExtension
Members
private
- $db
Methods
public
- getUpdatePriceValues() — returns an array of - Price - ClassName - ID searches through children, until all all childpages have been added
- updateCMSFields()
- updatePrices() — update all child buyables and the current buyable prices based on $fromCountry and applied to ALL $toCountries