Question Personal Product HELP!

19 Mar 2012 20:59 #268 by GSheelm

  • Fresh Boarder
  • Fresh Boarder

  • Posts: 5
  • Thank you received:

  • Gender: Unknown
  • Birthdate: Unknown
  • [English]

    Hi!
    I would like to ask you to help me.
    I’m working on a webshop with virtuemart and I’ve got the following problem:
    There is a pizza. I’d like to add plus items that of course are added to the price, too.
    The goal I’d like to reach is this: pizzadicasa.hu/szalamis.html

    [Magyarul/Hungarian]
    Van X Pizza: Szeretném a hozzá adott feltéteket kiválasztani de úgy, hogy több feltétet is adhassak a pizzához ami hozzáadódik az árhoz. Plusz ha megoldható ne kelljen minden pizzához a több tucat feltétet hozzáadni külön külön egyesével.
    Cél amit el szeretnék érni (PL.):
    pizzadicasa.hu/szalamis.html

    Please Log in to join the conversation.

    20 Mar 2012 07:17 #269 by webgobe

  • Administrator
  • Administrator

  • Posts: 149
  • Karma: 4
  • Thank you received: 7

  • Gender: Male
  • Birthdate: 18 Jan 1960
  • Did you tried the CAE hack with the Pizza attribute? does exactly that - you can add to each Pizza any number of attributes:
    This is from the txt file you can find in the package:
    Create the product in your shop, and add the code to the "Custom Attribute List box on the Product status tab.
    What code? Something like this:
    Pizza (pizza)(|)(Mini,Medium [+1.00],Big [+2.00]);
    Cheese (topping)(|)(Mini [+0.10],Medium [+0.50],Big [+1.00]);
    Salami (topping)(|)(Mini [+0.20],Medium [+1.00],Big [+2.00])
    Let's explain how it works: First of all, the product price should be set for the smallest sized pizza's price, without toppings (let's say 5 €).
    Then you set the attributes, first for the pizza itself, using the syntax:
    Pizza name (topping)(|)(size1 [extra price1],size2 [extra price2],....)
    There are no limits of number of attributes, and the syntax is exactly the same as the general syntax for the CAE hack.
    One special note, tough: since there is no special protection implemented, and the above values are used elsewhere, you must begin the extra attribute names WITHOUTH SPACES IN FRONT, so
    Code: ...,sizeN [priceN], ...
    is correct,
    Code:..., sizeN [priceN], ...
    is incorrect!!!!
    The toppings syntax is similar, but more restrictive:
    The attribute names part of the list of extra attributes MUST BE EXACTLY THE SAME AT CHARACTER LEVEL AS THE LIST IN PIZZA ATTRIBUTE!!!
    So: if we use the above example, then
    Cheese (topping)(|)(Mini [+0.10],Medium [+0.20],Big [+1.00]);
    - is good
    Cheese (topping)(|)(Mini [+0.10], Medium [+0.20],Big [+1.00]);
    - is wrong (The space in front of "Medium" is the wrong thing)
    Cheese (topping)(|)(Mini [+0.10],Medium [+0.20],Extra [+1.00]);
    - is wrong, the Big in original Pizza attribute was replaced by Extra).
    Toppings attribute(s) must be used only together with (pizza), in the above sequence. The good news is, that there is no limit on (toppings) you can add to a (pizza) Wink maybe only your stomach's capacity!
    Enjoy!!!
    In Hungarian:
    A Pizza attributum pont ezt tudja - lásd fent. Szerintem könnyen használható, az első pizza összeállítása lehet csak gond, a többinél egyszerően másolással megoldható.
    Szólj, ha valami nem világos!
    The following user(s) said Thank You: GSheelm

    Please Log in to join the conversation.

    20 Mar 2012 10:26 #270 by GSheelm

  • Fresh Boarder
  • Fresh Boarder

  • Posts: 5
  • Thank you received:

  • Gender: Unknown
  • Birthdate: Unknown
  • Tehát ha jól értem akkor ezt a részt:
    Pizza (pizza)(|)(Mini,Medium [+1.00],Big [+2.00]);
    Cheese (topping)(|)(Mini [+0.10],Medium [+0.50],Big [+1.00]);
    Salami (topping)(|)(Mini [+0.20],Medium [+1.00],Big [+2.00]);

    Be kell másolnom a Termék -> Termék állapota és azon belül Egyéni jellemzők listájába?
    Vagy kell bármilyen php fájlt módosítanom elöbb? Nem sikerült teljesen megértenem.

    Please Log in to join the conversation.

    20 Mar 2012 11:05 #271 by GSheelm

  • Fresh Boarder
  • Fresh Boarder

  • Posts: 5
  • Thank you received:

  • Gender: Unknown
  • Birthdate: Unknown
  • Sikerült megértenem, most már a feltétek mennek. A probléma az volt, hogy nem töltöttem le a szükséges fájlokat. A következő kérdésem az lenne, hogy a pizza alapokat is így kellene megoldani? Vagy alapértelmezetten lehetne e bepipálva mondjuk a paradicsomos alap.

    Please Log in to join the conversation.

    20 Mar 2012 12:14 #272 by webgobe

  • Administrator
  • Administrator

  • Posts: 149
  • Karma: 4
  • Thank you received: 7

  • Gender: Male
  • Birthdate: 18 Jan 1960
  • Én ezt a szülő-gyermek megoldás segítségével csinálnám meg, vagyis lenne egy Pizza-akármi nevű termék, amihez hozzáadnék egy "alap" nevű attribútumot, aminek segítségével létrehoznám a gyermek-termékeket, amelyeket megfelelően neveznék el, pl. "paradicsomos alap", stb., kb. így:
    http://quickblinds.com.au/index.php?page=shop.product_details&flypage=flypage_css.tpl&product_id=68&category_id=5&option=com_virtuemart&Itemid=2 - ugyanaz a hack, egy kicsit (jó kicsit LOL) továbbfejlesztve.
    Ha még nem használtad a szülő-gyermek termék trükköt, itt a leírás:
    http://virtuemart.net/documentation/User_Manual/Product_Attributes.html

    Please Log in to join the conversation.

    15 May 2012 09:21 #273 by GSheelm

  • Fresh Boarder
  • Fresh Boarder

  • Posts: 5
  • Thank you received:

  • Gender: Unknown
  • Birthdate: Unknown
  • Szeretném ismét a segítségedet kérni, szeretném ha bejelölhető feltétek egymás mellett legyenek 3 oszlopban elrendezve, ehhez melyik fájlt kellene módosítani? Tehát ne minden feltét egymás alatt hanem mondjuk 10-15darab aztán a következő oszlop. Megoldható ez? Válaszod előre is köszönöm

    Please Log in to join the conversation.

    Joomla Security

    Do you need a helping hand to keep your Joomla site in top shape?

    You need someone to keep your site safe? If you want to know, what we can do for you, here is a short list:

    • We are performing a security audit - and we repeating this regularly
    • We are appliying all upgrades to the site as needed
    • We are adding our mix of security tools, settings and patches
    • We are setting up a backup procedure to ensure, that your data is safe
    • We are monitoring for uptime and unwanted activity
    • We are correcting any issues found
    • We are supporting all current and upcoming Joomla versions

    Sit back and relax - we are doing the mundane work for you!

    You only need to get your portion of Joomla Security Update today!

     

    Forum Search

    Keyword

    Recommendations

    I cannot praise Denes enough both for his professional Skills and his Friendship, a man who will go out of his way to ensure his clients are Happy I am proud to have him Top of my Freelancer list

    Bob Bentley
    CEO at Mammoth Marketing
    August 15, 2006

    Forum

    Forum Statistics

    • Total Users:13.73k
    • Latest Member:vanonasaridze
    • Total Posts:323
    • Total Topics:73
    • Total Sections:2
    • Total Categories:14
    • Today Open:0
    • Yesterday Open:0
    • Today Answer:0
    • Yesterday Answer:0

    Disclaimer

    webGóbé and http://webgobe.com is not affiliated with or endorsed by The Joomla! Project™. Any products and services provided through this site are not supported or warrantied by The Joomla! Project or Open Source Matters, Inc. Use of the Joomla!® name, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.

    All downloadable items in these pages are zip files containing no malware, adware or any other potentially dangerous content. They are meant to be used as extensions of Joomla CMS, and don't install or modify anything on your computer. Special install/uninstall info - if is different from standard Joomla extension install/uninstall procedure - is contained in each package - and available in the download page prior you click on the Download button.

    Online Support

    webGóbé
    Send a message via MSN to webGóbé Send a message via Yahoo to webGóbé Send a message via Skype to webGóbé Send a message via ICQ to webGóbé
    Telephone number of webGóbé 040-744-548848
    Expert SEO Services by Houts Graphics custom software development The professional company a4c provides all the information on development application for CashBack. The professional company a4c provides all the information on development whitelabel for CashBack.

    Sign In or Create Account