Hi, please visit this URL propokerden.com/administrator/index2.php?option=com_sef and click onto the purge SEF URLs. I suppose thic cache truncating will solve the problem.
Thanks
Hi Guys,
We have a problem with our products in the tables section.
We have created several Poker tables in the products list but some are linking to the wrong products.
The "Classic Oval Poker Table" links to the "superb-round-poker-table"
The"exceptional-solid-wood-oval-poker-table-with-dining-lid" doesnt link to anything is reports no product can be found.
The "professional-10-seat-poker-table" product availablity section is skewed to the right of the page.
Any idea why this is happening?
Alot of decimal places
There seems to be alot of decimal places after the weights/prices. But when i look at the settings they are set to 2. any ideas?
Pro Poker Den
Last edited by stevenbhn; 07-29-2008 at 09:03 PM. Reason: adding site url
Hi, please visit this URL propokerden.com/administrator/index2.php?option=com_sef and click onto the purge SEF URLs. I suppose thic cache truncating will solve the problem.
Thanks
█Time may come when you will need a UK e-commerce software
█ecommerce testimonials keresőoptimalizálás
Cheers for the info for the purging of urls.
Do you know why there are too many decimal places for both prices and weight throughout the admin side.
Last edited by stevenbhn; 08-01-2008 at 08:23 PM.
I have fixed the linking problems thanks to the url you gave me.
I really need to understand why or fix a possible problem of why there are a number of extra decimal points to both the weight/dimensions and prices.
Any help would be much appreciated.
Thanks
Steve
Can i setup Google checkout with this script.
also
Any idea why this is happening?
Alot of decimal places
There seems to be alot of decimal places after the weights/prices. But when i look at the settings they are set to 2. any ideas?
Pro Poker Den
The weight and prices are rendered by the classes in the administrator/components/com_virtuemart/classes/ folder. For instance in the 1909th line of the ps_product file you may see this code.
Using the round php command likePHP Code:$html .= $CURRENCY_DISPLAY->getFullValue($base_price);
would eliminate the decimals from the price. The situation of the weight is similar.PHP Code:$html .= $CURRENCY_DISPLAY->round(getFullValue($base_price),0);
Thanks
█Time may come when you will need a UK e-commerce software
█ecommerce testimonials keresőoptimalizálás
can you please point me in the right direction for where i can make the changes to the weight.
also i get a fatal error
Fatal error: Call to undefined method CurrencyDisplay::round() in /home/propoker/public_html/administrator/components/com_virtuemart/classes/ps_product.php on line 1910
Last edited by stevenbhn; 08-06-2008 at 11:11 AM.
Ok Steven, i am not at home currently, so i could not test my suggestion because of the lack of test script. When i will have tim at home, will write you the guide.
Thanks
█Time may come when you will need a UK e-commerce software
█ecommerce testimonials keresőoptimalizálás
The price decimals can be set in the admin interface after selecting edit store information, in the right coloumn you will see an input called decimals.
The weight problem could be solved by the following method. Open for edit the administrator/components/com_virtuemart/classes/ps_product.php file and look for 1409th line
replace this withPHP Code:$product_weight = $db->f('product_weight');
I hope this will do the trickPHP Code:$product_weight = $db->f('product_weight');
$product_weight = round($product_weight,0);
Thanks
Bagi
Last edited by Bagi Zoltán; 08-06-2008 at 03:12 PM.
█Time may come when you will need a UK e-commerce software
█ecommerce testimonials keresőoptimalizálás
I tried to change the code but nothing seems to change.
Whenever i try to change the product information to
length 30cm width 20cm height 5cm and weight 6kg
these are the results
Product Dimensions and Weight
Length: 30.0000 cm Width: 20.0000 cm Height: 5.0000 cm Weight:6.0000 kg
I have set the Currency display of decimal places to "0" yet and changed the code for the weight but still i get these results.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks