How to manage products database, variables?
-
Hi,
my website is getting bigger and I’m struggling to update everything.
Let’s say I have the same product listed in a few different sub pages. I want to be able to change the price in one place so it gets updated on every sub-page. Something like a variable should do the job but how to use it?
It should look like this-
some source file
Product1price = $15
Product2price = $33
..
Product99price= $14
And then on the product page something like “Price: <Product18price>”
Or I should rather use MySQL for that simple purpose?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘How to manage products database, variables?’ is closed to new replies.