Welcome our webmaster and SEO forum
Please enjoy the forum, contribute what you can, and wind up the Moderators!
Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Product linking issue

  1. #1
    stevenbhn is offline Junior Member
    Join Date
    Jun 2008
    Posts
    1

    Default Product linking issue

    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

  2. #2
    Bagi Zoltán's Avatar
    Bagi Zoltán is offline Boss Cart consultant
    Join Date
    Feb 2007
    Location
    Veszprém, Hungary
    Posts
    1,225

    Default

    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

  3. #3
    stevenbhn is offline Junior Member
    Join Date
    Jun 2008
    Posts
    1

    Default

    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.

  4. #4
    stevenbhn is offline Junior Member
    Join Date
    Jun 2008
    Posts
    1

    Default

    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

  5. #5
    stevenbhn is offline Junior Member
    Join Date
    Jun 2008
    Posts
    1

    Default google checkout

    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

  6. #6
    Bagi Zoltán's Avatar
    Bagi Zoltán is offline Boss Cart consultant
    Join Date
    Feb 2007
    Location
    Veszprém, Hungary
    Posts
    1,225

    Default

    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.
    PHP Code:
                    $html .= $CURRENCY_DISPLAY->getFullValue($base_price); 
    Using the round php command like

    PHP Code:
                    $html .= $CURRENCY_DISPLAY->round(getFullValue($base_price),0); 
    would eliminate the decimals from the price. The situation of the weight is similar.
    Thanks

  7. #7
    stevenbhn is offline Junior Member
    Join Date
    Jun 2008
    Posts
    1

    Default

    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.

  8. #8
    Bagi Zoltán's Avatar
    Bagi Zoltán is offline Boss Cart consultant
    Join Date
    Feb 2007
    Location
    Veszprém, Hungary
    Posts
    1,225

    Default

    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

  9. #9
    Bagi Zoltán's Avatar
    Bagi Zoltán is offline Boss Cart consultant
    Join Date
    Feb 2007
    Location
    Veszprém, Hungary
    Posts
    1,225

    Default

    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
    PHP Code:
    $product_weight $db->f('product_weight'); 
    replace this with
    PHP Code:
    $product_weight $db->f('product_weight');
    $product_weight round($product_weight,0); 
    I hope this will do the trick
    Thanks
    Bagi
    Last edited by Bagi Zoltán; 08-06-2008 at 03:12 PM.

  10. #10
    stevenbhn is offline Junior Member
    Join Date
    Jun 2008
    Posts
    1

    Default

    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.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124