Hi. I'm new to opencart and php. I need help fixing the way options are listed on my site. I'm sure there's a simple way to do this ...
Right now, I have a size option for certain products. On some products, the small size costs less than the standard size, so in the dropdown, it's listed as "small -2.0000" for $2 less. Here are my issues:
I'd like the full price to be listed instead of the relative price. So, instead of "Small -2.0000," I'd like it to read "Small - $9.99." I'm sure this can be done through a concatenation of some kind, but I can't figure it out because php is not my first language.
Second, I'd like the price listed here to be 2 decimal places - I have that set under currency, but it doesn't seem to apply to this dropdown - it's showing 4 decimal places. I'm not sure why.
Any help would be appreciated. Thanks!
Right now, I have a size option for certain products. On some products, the small size costs less than the standard size, so in the dropdown, it's listed as "small -2.0000" for $2 less. Here are my issues:
I'd like the full price to be listed instead of the relative price. So, instead of "Small -2.0000," I'd like it to read "Small - $9.99." I'm sure this can be done through a concatenation of some kind, but I can't figure it out because php is not my first language.
Second, I'd like the price listed here to be 2 decimal places - I have that set under currency, but it doesn't seem to apply to this dropdown - it's showing 4 decimal places. I'm not sure why.
Any help would be appreciated. Thanks!
Bruce,
This is very timely; I was just about to contact you to suggest this change for the next version. It is extremely confusing to the consumer to purchase something say at 16.24 + 7.29 for the large size. Also I would like to suggest that later versions also allow you to change the weight on the alternate item. We sell the same product in multiple sizes/weights which makes a big impact on the shipping.
Thanks, as always you are doing a great job. I am anxious to see the fix, it will save me a lot of searching php files.
This is very timely; I was just about to contact you to suggest this change for the next version. It is extremely confusing to the consumer to purchase something say at 16.24 + 7.29 for the large size. Also I would like to suggest that later versions also allow you to change the weight on the alternate item. We sell the same product in multiple sizes/weights which makes a big impact on the shipping.
Thanks, as always you are doing a great job. I am anxious to see the fix, it will save me a lot of searching php files.
Hi Gary,
This task is still on my todo: list but if you are thinking of doing it yourself then you would add another option to the plus/minus price modifier dropdown that was "=" and then find the places where the option price modifies the item price based on +/- and add some logic for "equals". Plus you might like to get rid of the symbol displayed in the catalog templates if the price modifier is "="
Hope this helps you both.
This task is still on my todo: list but if you are thinking of doing it yourself then you would add another option to the plus/minus price modifier dropdown that was "=" and then find the places where the option price modifies the item price based on +/- and add some logic for "equals". Plus you might like to get rid of the symbol displayed in the catalog templates if the price modifier is "="
Hope this helps you both.
Zen-Cart has an option called "Product priced by options" where the base price of the product is set to the lowest priced option, and the text is changed to "Starting at: $4.99"
That doesn't sound too hard to do, and I might be interested in making that, but it's not on my high priority list at the moment.
That doesn't sound too hard to do, and I might be interested in making that, but it's not on my high priority list at the moment.
The way I'm doing this is I'm using Qphoria's Options Weight Contribution. I'm also using Qphoria's Category Options List contribution - not sure if this one is required as well for the desired outcome.weniggary wrote: Also I would like to suggest that later versions also allow you to change the weight on the alternate item. We sell the same product in multiple sizes/weights which makes a big impact on the shipping.
I set the Product Price to zero with a weight of 1
Then I set the Options to the price of the Option with a weight factor of '*' and the weight of the Option
The final result is to use the price and the weight of the Option
Product Price = 0 + Options Price = Option Price
Product Weight = 1 Weight factor ='*' Option Weight = Option Weight
The only thing I'm not getting is a price for the product but that is not useful to me as each option has a different price anyway so I remove all traces of zero price for the products and just use the pricing on the option's drop down.
The other problem is that the Category Options Listings has not yet been updated for RC3 so minimum qty may doing something weird like blow up the internet or something more exciting.
PS: I wonder if Qphoria has time to update the Category Options List mod

Who is online
Users browsing this forum: No registered users and 3 guests